Re: [Sablevm-developer] ClassNotFoundException
Brought to you by:
egagnon
From: Chris P. <chr...@ma...> - 2004-06-17 16:46:28
|
Fabien Renaud wrote: > Hello, > I have 2 or 3, I don´t know problems : > > > I´m with 1.1.3 on ARM Hi Fabien, First upgrade to 1.1.5, or preferably the latest staging versions of sablevm-classpath and sablevm (since that way, if there is a bug and it gets fixed, you can easily get the changes right away). > 1) > All my classes are in the same directory. > When I want to run programms written with AWT I have > ClassNotFoundException : <my_class> > The other classes in the same directory work. > Actually that can work (I only have qt no X) but I´m expecting another error Does this happen on x86? Does it happen on Sun's VM? What error are you expecting instead? Can you give us some strace output? > 2) > When I want to run java progs written with qt I have this : > sablevm: INTERNAL ERROR (source file "native_interface.c", line 23627): todo > This error seems normal, no ? It just means something is not implemented yet. It seems fixed in the latest version. If you look in native_interface.c, you'll probably see at line 23627 that GetJavaVM() is not done. However, it's there in my copy of staging. > 3) > I want to run a little web server. > I have this : > [verbose class: loading "java/net/ServerSocket"] > [verbose class: loading "gnu/java/net/PlainSocketImpl"] > [verbose class: creating "[Ljava/lang/StackTraceElement;"] > [verbose class: loading "java/lang/Throwable$StaticData"] > java.lang.NoClassDefFoundError > at java.net.ServerSocket.ServerSocket (ServerSocket.java:118) > at java.net.ServerSocket.ServerSocket (ServerSocket.java:179) > at java.net.ServerSocket.ServerSocket (ServerSocket.java:156) > at java.net.ServerSocket.ServerSocket (ServerSocket.java:137) > at WebServer.main (WebServer.java:113) If you look at java/net/ServerSocket.java in sablevm-classpath you should see what's wrong. Again, this may be something that's implemented in the latest staging version. HTH, Chris |