Thread: [Sablevm-developer] ClassNotFoundException
Brought to you by:
egagnon
From: Fabien R. <re...@ne...> - 2004-06-17 10:17:50
|
Hello, I have 2 or 3, I don´t know problems : I´m with 1.1.3 on ARM 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 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 ? 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) It´s strange, sablevm doesnt say me what is the missing class Someone could help me ? Cheers, Fabien |
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 |
From: Grzegorz B. P. <ga...@de...> - 2004-06-18 05:39:41
|
W li=B6cie z czw, 17-06-2004, godz. 06:16, Fabien Renaud pisze:=20 > Hello, > I have 2 or 3, I don=B4t know problems : > =20 > I=B4m with 1.1.3 on ARM Since over a month I am looking for an account on Debian Unstable ARM machine. Unfortunatelly Debian's ARM machine, which is normally available from developers is down since quite long time and I was not able to find any information when it's expected to be back. Switching to 1.1.5 or staging would surely help. But I also know that there *are* some ARM-specific problems. I am eager to fix them, but I can't because I lack access to software/hardware I need for that. So, maybe you would be able to give me an account on one of your ARM machines (can be chroot or UML) with remote access? HTH Grzegorz B. Prokopski --=20 Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPL'ed Java VM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/Features |
From: Fabien R. <re...@ne...> - 2004-06-18 08:36:14
|
Grzegorz B. Prokopski wrote: >W liście z czw, 17-06-2004, godz. 06:16, Fabien Renaud pisze: > > >>Hello, >>I have 2 or 3, I don´t know problems : >> >>I´m with 1.1.3 on ARM >> >> > >Since over a month I am looking for an account on Debian Unstable ARM >machine. Unfortunatelly Debian's ARM machine, which is normally >available from developers is down since quite long time and I was >not able to find any information when it's expected to be back. > >Switching to 1.1.5 or staging would surely help. But I also know >that there *are* some ARM-specific problems. I am eager to fix them, >but I can't because I lack access to software/hardware I need for that. > >So, maybe you would be able to give me an account on one of your ARM >machines (can be chroot or UML) with remote access? > >HTH > > Grzegorz B. Prokopski > > Yep there are some problems with lastest version. I´ll try again with staging. Sorry, but I am not able to give you an access (I´m in a firm and all it´s not open source) Fabien |