"-jar not understood" error
hi buddies..
i was trying 2 execute
java -jar MyJar.jar
when it gave the error like
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: MyJar.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 (/root/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
at __libc_start_main (/lib/tls/libc-2.3.3.so)
at _Jv_RegisterClasses (/root/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
could nebody help me....vat da problem was?
thanks in advance..
|