openJDK7 build fails on 64bit cblfs linux
lux-integ at btconnect.com
Mon Apr 18 13:50:54 UTC 2011
On Sunday 17 April 2011 23:04:35 luxInteg wrote:
> as an uPDATE
> I did the above then tried to run ant and this is what happens:-
> ant -v
> 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 ]
> advice on remedies would be appreciated
The 'pre-running-make' sanity check had this:-
WARNING: You are not building the HOTSPOT sources.
Hotspot libs will be obtained from
the location set in ALT_HOTSPOT_IMPORT_PATH.
and ALT_HOTSPOT_IMPORT_PATH = /opt/jdk-6u24
The machine had this /opt/jdk-6u24/jre/bin/java_vm
--a) is /opt/jdk-6u24/jre/bin/java_vm equivalent to 'hotspot' used?
--b) how does one build the HOTSPOT sources for jdk7? and will these 'hot
spot' building give a needed jvm?
( I looked through the build file and there does not seem to be any obvious
thanks in advance
More information about the build-dev