Bootstrapping with OpenJDK 7
mvfranz at gmail.com
Thu Oct 16 21:04:37 PDT 2008
It seems that I was wrong on this. I do have a Queens.java file. The
problem is that the JVM does not startup correctly to compile the class and
then cannot find the class file when it tries to run the test.
I cannot figure out why the JVM does not run correctly during the build. If
I run the steps manually it works. What I don't understand is that it is
pointing to the version I specify in the ALT_BOOT_DIR or ALT_JDK_IMPORT_PATH
(I have them set the same) and not the version that I just built.
On Sun, Sep 21, 2008 at 5:54 PM, Michael Franz <mvfranz at gmail.com> wrote:
> My next problem is this:
> All done.
> cd bsd_i486_compiler2/product && ./test_gamma
> openjdk full version "1.7.0-internal-landonf_2008_08_20_14_13-b00"
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
> openjdk version "1.7.0-internal"
> OpenJDK Runtime Environment (build
> OpenJDK Server VM (build 14.0-b01, mixed mode)
> Exception in thread "main" java.lang.NoClassDefFoundError: Queens
> Caused by: java.lang.ClassNotFoundException: Queens
> at java.net.URLClassLoader$1.run(URLClassLoader.java:220)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:209)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:208)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:270)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:338)
> make: *** [product] Error 1
> make: *** [generic_build2] Error 2
> make: *** [product] Error 2
> make: *** [hotspot-build] Error 2
> make: *** [build_product_image] Error 2
> I cannot find any reference to a 'Queens' class.
> On Sun, Sep 21, 2008 at 4:57 PM, Michael Franz <mvfranz at gmail.com> wrote:
>> It seems that I need to set both ALT_BOOTDIR and ALT_JDK_IMPORT_PATH to
>> get the build to run with the OpenJDK Darwin binaries.
>> For people that did not have this problem, is there some other variable
>> that is set that makes ALT_JDK_IMPORT_PATH unnecessary?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bsd-port-dev