"boot jdk" is needed, not a jre. -kto
On Dec 28, 2012, at 9:20 AM, miten mehta wrote: > Hi, > > I download jre 6 (not jdk). Now it reports incorrectly ant version even > though I set ANT_HOME to 1.7.1 install dir. > > I set ALT_BOOTDIR to jre 6 install dir. > > Regards, > > Miten. > > > > > ________________________________ > From: miten mehta <imi...@yahoo.com> > To: build-dev <build-dev@openjdk.java.net> > Sent: Friday, December 28, 2012 9:53 PM > Subject: Re: symbol JVM_SetNativeThreadName, version SUNWprivate_1.1 not > defined in file libjvm.so with link time reference > > do I need jdk 6 only as bootstrap jdk. I cannot use jdk 7 from oracle as > bootstrap jdk for building openjdk 7 ? > > > > > ________________________________ > From: miten mehta <imi...@yahoo.com> > To: build-dev <build-dev@openjdk.java.net> > Sent: Friday, December 28, 2012 9:27 PM > Subject: symbol JVM_SetNativeThreadName, version SUNWprivate_1.1 not defined > in file libjvm.so with link time reference > > > Hi, > > I am building openjdk-7-fcs-src-b147-27_jun_2011.zip with oracle bootstrap > jdk > > javamitenm@pinkydebian:~$ java -version > java version "1.7.0_04" > Java(TM) SE Runtime Environment (build 1.7.0_04-b20) > Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode) > mitenm@pinkydebian:~$ > > > I got following error: > cd linux_i486_compiler2/product && ./test_gamma > java full version "1.7.0_04-b20" > Using java runtime at: /opt/jdk1.7.0_04/jre > Error occurred during initialization of VM > Unable to load native library: /opt/jdk1.7.0_04/jre/lib/i386/libjava.so: > symbol JVM_SetNativeThreadName, version SUNWprivate_1.1 not defined in file > libjvm.so with link time reference > make[4]: *** [product] Error 1 > make[4]: Leaving directory > `/media/sf_E_DRIVE/learn/java/openjdk/openjdk/build/linux-i586/hotspot/outputdir' > make[3]: *** [generic_build2] Error 2 > make[3]: Leaving directory > `/media/sf_E_DRIVE/learn/java/openjdk/openjdk/hotspot/make' > make[2]: *** [product] Error 2 > make[2]: Leaving directory > `/media/sf_E_DRIVE/learn/java/openjdk/openjdk/hotspot/make' > make[1]: *** [hotspot-build] Error 2 > make[1]: Leaving directory `/media/sf_E_DRIVE/learn/java/openjdk/openjdk' > make: *** [build_product_image] Error 2 > > > Regards, > > Miten.