Hey, sorry for the quick reply I was doing it on my phone. So what are the issues you are having? You can compile java source files from the command line but you need to compile and run them with links to jars?
You can compile with the class path like this (assuming again you're in the correct directory):
If you have multiple classpaths, and/or in separate locations you can separate them with a colon... such as:
javac -cp /path/to/file.jar Myprog.java
Once compiled, you can run the java program while including the classpath:
javac -cp /path/to/file1.jar:/path/to/file2.jar Myprog.java
java -cp /path/to/file.jar Myprog