|
Prev: Online backup services for Linux (like mozy)
Next: Can't get arduino working on debian lenny - resolved
From: Folderol on 2 Apr 2008 19:25 I had this working fine on etch but trying to run it on lenny is a nightmare. I get just a box then it freezes. If I call it from a terminal window I get: java.lang.ClassNotFoundException: com.sun.java.swing.plaf.gtk.GTKLookAndFeel not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:lib/,file:lib/build/,file:lib/pde.jar,file:lib/antlr.jar,file:lib/oro.jar,file:lib/registry.jar,file:lib/mrj.jar,file:lib/RXTXcomm.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.90) I'm calling the program in *exactly* the same way as I did from etch with an *identical* directory structure. I've tried installing extra bits of java that I thought might be relevant including all the following, but to no avail: libgtk-java libswt3.2-gtk-gcj libskinlf-java libswt-gtk-3.3-java libgtk-java-dev libswt-gtk-3.2-java Any help greatly appreciated. -- Will J G
From: Bruce Stephens on 2 Apr 2008 19:48
Folderol <folderol(a)ukfsn.org> writes: > I had this working fine on etch but trying to run it on lenny is a > nightmare. I get just a box then it freezes. If I call it from a > terminal window I get: > > java.lang.ClassNotFoundException: > com.sun.java.swing.plaf.gtk.GTKLookAndFeel not found in > gnu.gcj.runtime.SystemClassLoader{urls=[file:lib/,file:lib/build/,file:lib/pde.jar,file:lib/antlr.jar,file:lib/oro.jar,file:lib/registry.jar,file:lib/mrj.jar,file:lib/RXTXcomm.jar], > parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at > java.net.URLClassLoader.findClass(libgcj.so.90) > > I'm calling the program in *exactly* the same way as I did from etch > with an *identical* directory structure. Probably you have gcj installed on lenny but not on etch. Things like the executables "java", "javac", etc., are controlled by the debian alternatives system. If you have gcj installed then by default that'll be used for "java", "javac", and probably other things, even if you have sun-java5-jre (or whatever) installed. Probably just run "update-alternatives --config java". Or galternatives. And select Sun's java. |