T
TsanChung
This is how I run my program with a jar file on linux:
$ java -jar test.jar scripts/test1.jsc
How to run it without using the jar file?
I try to run it on bash but it fail:
$ java -classpath /home/twong/test/test scripts/test1.jsc
Exception in thread "main" java.lang.NoClassDefFoundError:
scripts/test1/jsc
$ java -jar test.jar scripts/test1.jsc
How to run it without using the jar file?
I try to run it on bash but it fail:
$ java -classpath /home/twong/test/test scripts/test1.jsc
Exception in thread "main" java.lang.NoClassDefFoundError:
scripts/test1/jsc