Skip to content

Instantly share code, notes, and snippets.

@richard-to
Created June 22, 2013 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richard-to/5843066 to your computer and use it in GitHub Desktop.
Save richard-to/5843066 to your computer and use it in GitHub Desktop.
Random java command line compile and jar instructions
javac -classpath /full/path/to/file.jar -d class/output/dir src/*.java
jar -cvf outdir/program.jar -C class/output/dir/ .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment