Hi!! Trying to run a .jar file by typing
and returns this back:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: file/jar
Caused by: java.lang.ClassNotFoundException: file.jar
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
And if i type this :
java file.jar it returns this :
Code:
Unable to access jarfile
Does anyone know why this prog can not run ? :s Thanx for your any answers...