|
I can't input any Chinese characteristic because of the input method proble.
Sorry about that.
:help
I installed jdk5.0 for linux AS4 but there's some odd problem.
When I try to run the Demo like $JAVA_HOME/demo/jfc/SwingSet2/SwingSet2.jar using this directive
java -jar SwingSet2.jar
it will failed and return an error following
[adam@AdamCorp SwingSet2]$ java -jar SwingSet2.jar
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: SwingSet2.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/usr/java/jdk1.5.0/demo/jfc/SwingSet2/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/usr/java/jdk1.5.0/demo/jfc/SwingSet2/java.version=1.4.2)
but I can run it with appletviewer. I am in trouble.
What' wrong with it?
Oh, I can't install eclipse either due to this problem.
Please help me, hacker. Thanks a lot! |
|