dot jar (.jar) files and linux classpath
843789Aug 4 2010 — edited Aug 4 2010I have a java program that requires two jar files for successful compilation, how do i do this?
when i use one jar file i would compile my program in the following manner
javac -classpath /usr/local/java/classes/mysql-connector-java.jar:. ClassName.java
and run it with java -classpath /usr/local/java/classes/mysql-connector-java.jar:. ClassName
but what would the above compilation and run statements look like if i had to use two .jar files?
ps forgot the code tag syntax