Compiling and running a java file in command line where it imports an external jar files. Here is the solution.
Compilation
javac -cp
run
java
Note 1: separator ; for windows and : for unix
Note 2: multiple jar files can be used delimited by ;
Note 3: . can be used to specify the current directory
No comments:
Post a Comment