Doubt with classpath
I have my java project compiled as test.jar.
This project need other jars : if I want to launch my jar, what is the correct syntax to include in java -classpath directive other jars?
java -classpath C:\java\lib\JavaDde.jar;C:\java\lib\joc-v2.0.5-eval.jar; -jar C:\test.jar
This doesn't work, any ideas?
you need to put the java main class target so the JVM knows which class to execute.
java -classpath C:\java\lib\JavaDde.jar:C:\java\lib\joc-v2.0.5-eval.jar: -jar C:\test.jar Test