i'm having troubles converting javac command used under windows (my libraries placed within lib folder, source code within src folder, , compiled code should placed within bin folder):
javac -cp lib/\* -d bin src/\*.java
into correct linux javac command. have tried many variations including
javac -cp lib/* -d bin src/*.java
but doesn't seem work :
"invalid flag: lib/org.eclipse.paho.client.mqttv3-1.0.2.jar".
i looking solution quite time, advice on highly appreciated!
this 1 of odd things happens when don't put quotes around argument.
solution worked out in comments section: "lib/" instead of lib/
javac -cp "lib/*" -d bin src/*.java
the other issue ;
needed instead of :
in linux classpaths.
Comments
Post a Comment