HotSpot build keeps using JDK6
John.Coomes at sun.com
Thu May 22 10:04:22 PDT 2008
Nicholas Riley (njriley at uiuc.edu) wrote:
> I'm building as follows:
> export ALT_BOOTDIR=/path/to/openjdk/build/linux-i586
> LANG=C JAVA_HOME= LD_LIBRARY_PATH= CPPFLAGS= LDFLAGS= make debug
> But then I get:
> % LD_LIBRARY_PATH=$PWD ./gamma -version
> java version "1.6.0_02"
> Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
> OpenJDK Server VM (build 13.0-b01-internal-debug, mixed mode)
> If I try to set JAVA_HOME explicitly:
> % JAVA_HOME=~oj/build/linux-i586 LD_LIBRARY_PATH=$PWD ./gamma -version
> There was an error trying to initialize the HPI library.
> Could not create the Java virtual machine.
On 32-bit linux, libhpi.so lives in
Look at the environment var settings that are done in the generated
file env.ksh (in the same dir as gamma), particularly LD_LIBRARY_PATH.
Or just run
$ . ./env.ksh
$ ./gamma -version
More information about the hotspot-dev