howto jvn openjdk-b138 64bit amd64
luxInteg
lux-integ at btconnect.com
Mon Apr 18 10:32:33 PDT 2011
Greetings,
I just 'built?' openJDK-b138 on a computer with these
(cpu amd64, OS bblfs 64-bit lnux, gcc-4.5.2, make 3.82,Xorg-7.6 I had some
help from the build-list)
I installed the j2sdk-image like so
cd build/linux-amd64/j2sdk-image
cp -vR bin include jre lib man demo /path/to/wherever
chmod root:root /path/to/wherever
when I then tried to run ant ( with ant -v ) I discovered there is no j-vm
"
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.
#--------- an ls of ~/jre/bin shows there is no jvm
root [ /opt/openJDK/jre/bin ]# ls -l
total 244
-rwxr-xr-x 1 root root 6832 Apr 17 22:40 java
-rwxr-xr-x 1 root root 7023 Apr 17 22:40 keytool
-rwxr-xr-x 1 root root 7215 Apr 17 22:40 orbd
-rwxr-xr-x 1 root root 7055 Apr 17 22:40 pack200
-rwxr-xr-x 1 root root 7071 Apr 17 22:40 policytool
-rwxr-xr-x 1 root root 7023 Apr 17 22:40 rmid
-rwxr-xr-x 1 root root 7023 Apr 17 22:40 rmiregistry
-rwxr-xr-x 1 root root 7039 Apr 17 22:40 servertool
-rwxr-xr-x 1 root root 7247 Apr 17 22:40 tnameserv
-rwxr-xr-x 1 root root 170103 Apr 17 22:40 unpack200
root [ /opt/openJDK/jre/bin ]
A closer inspection of the prebuild sanity check showed
WARNING: You are not building the HOTSPOT sources.
Hotspot libs will be obtained from
the location set in ALT_HOTSPOT_IMPORT_PATH.
All attempts to set build variables (for HOTSPOT-building) descrided in
the build.html file have not been successful.
I would be grateful for some advice of how a JVM can be built from the
current sources of openjdk7.
yours sincerely
luxInteg
More information about the hotspot-dev
mailing list