Do the second command add the current path as another path for searching?
javac -cp /home/tim/program_files/programming/java/junit-4.11.jar MyTest.java
javac -cp .:/home/tim/program_files/programming/java/junit-4.11.jar MyTest.java
Is it the correct way to separate multiple paths, by a colon?
Isn't the current path always in ClassPath by default, and thus no need to explicitly specify?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…