There was an error trying to initialize the HPI library.
Alan Bateman
Alan.Bateman at oracle.com
Thu Jan 20 07:34:02 PST 2011
If you don't build jdk7, or you build the complete forest, then you can
ignore this mail. For those that do partial builds of jdk7, and build
the jdk repository in conjunction with an import JDK, then read on.
An upcoming build (probably b128) will have changes that remove
libhpi.so (the legacy Host Porting Interface). This should be
transparent to everyone except those that have a local jdk7 build that
they use as their import JDK. If that import JDK has hs20-b03
(jdk7-b122) or older then running the "java" command will fail
immediately with this error:
There was an error trying to initialize the HPI library.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
If you run into this then you should check the version of your import
JDK to make sure that it has hs20-b04 (jdk7-b123) or newer. Once you
have an up-to-date import JDK and re-build then the error should go away.
-Alan.
More information about the jdk7-dev
mailing list