In windows, to run a class with a .jar file , you will need to write a command like this: java -classpath ./;lib/jdom.jar HelloWorld
but in Linux, there is some difference:
java -classpath ./:lib/jdom.jar HelloWorld
there is a Semicolon in Windows, but a Colon in Linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment