Michael, Let me be clearer. You have to copy the dylibs to test the new vm you built. You can test it by running any .class files you have, the Queens file is not important at all, it was just a very short .java file that made sure that the vm was warm and breathing. java -version would be a good check that you got your own build installed where you want it. thanks, Karen On Sep 21, 2008, at 10:33 PM, Michael Franz wrote:
Karen,
I tried to copy the dyllibs, but that did not help. I looked at the IcedTea project and they remove the tests, so I did the same. I am now able to get past that point.
What is in the Queens.java file? Is it an important test?
Michael
On Sun, Sep 21, 2008 at 9:03 PM, Karen Kinnear <Karen.Kinnear@sun.com> wrote: Michael,
Our bad (and our apologies). I don't know if there were legal issues with providing Queens.java or Queens.class or not. The end of the build tries to self-test. We should probably comment that out. You would need to have a java in your path to run any self-test anyway.
What you have is a successful build of the hotspot vm.
What you need to do is to copy the libjvm.dylib and libjsig.dylib into the location you are currently using to run your jre - whether that is a binary you downloaded, or a jdk you built. Of course you want to save the existing libjvm.dylib and libjsig.dylib. Make sure you copy over the server/libjvm.dylib if you built "product" - that is the optimizing, server compiler by default.
hope this helps, Karen