classpath - jar file not working java.lang.NoClassDefFoundError -
when run jar file in cmd error:
exception in thread "main" java.lang.noclassdeffounderror: javax/media/j3d/canvas3d
it happens both when use java -cp . main
, java -jar balljump.jar
im sure set classpath right have no idea why error message.
this manifest.txt:
main-class: main class-path: .;"c:\program files\java\java3d\1.5.2\lib\ext\j3dcore.jar";"c :\program files\java\java3d\1.5.2\lib\ext\j3dutils.jar";"c:\program files\java\java3d\1.5.2\lib\ext\vecmath.jar"
i have tried replace ";" " " , add " class path suggested in answers non of them worked
try replace ";" semicolon " " space separating jars in manifest.mf
Comments
Post a Comment