Hello Everybody,
I've a question which might be very simple but I didn't find anything. I've written an Java App and it runs well when I start it out of my IDE (Netbeans 6.1, if you wanna know). But when I want to start it from the command line I get an error which I can't resolve by myself. Here it is.
java -jar /home/jhomuth/projekte/LDAP/dist/LDAP.jar
Exception in thread "main" java.lang.NoClassDefFoundError: de.sourcepark.ldap.JNDI_GUI
at java.lang.Class.initializeClass(libgcj.so.90)
Caused by: java.lang.ClassNotFoundException: javax.swing.RowSorter not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/jhomuth/projekte/LDAP/dist/LDAP.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.90)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.ClassLoader.loadClass(libgcj.so.90)
at java.lang.Class.initializeClass(libgcj.so.90)
I mean, I can think what is wrong, because I'am able to read, but what shall I do here? I've tried to Comment all Lines where the javax.swing.rowSorter is in, but then he throw the next Error, the same like that only with org.jdesktop.layout.GroupLayout. Does anyone has a Solution?
Sorry about my bad english :-)