I compile and the jar source is just fine, but when I run it, it complains:
java.lang.ClassNotFoundException: javax.swing.JPanel
I think I should include the Swing library when compiling, but how do I do this?
I have included each rt.jar in my system:
javac -classpath /usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar:/home/me/equinox.jar *java
It still compiles fine, it still crashes on startup.
source share