Sablevm SDK rmic failed!
"Li zhang" <[email protected]> Fri, 23 Jun 2006 11:54:29 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, New to SableVM, not sure it this is a bug or my own issue. Installed SDK1.13 on redhat. Sun compiled RMI did not work on GNU version of rmiregistry. So I had to try GNU's own rmi compiler. rmic did not work at first due to path problem. So I run the following command by adding current working directory: $ blah/blah/bin/java \ blah/blah/lib/cptools.jar:. \ gun.classpath.tools.rmi.rmic.RMIC myRMIClass It exited @ line 866 @ RMIC.java by throwing NullPointerException when trying to compile myRMIClass_Stub.java. The reason was that an Compiler was not successfully instantiated. Investigated it a little bit. The problem was probably a hardcoded string in gnu.classpath.tools.rmi.rmic.Compiler.java : private static final String classPrefix = "gnu.java.rmi.rmic.Compile_"; I suspect it should have been "gnu.calsspath.tools.rmi.rmic.Compile_" without any further verification since I don't feel confident to manipulate all those jars. Any comment is appreciated. Li