Skip to content

Instantly share code, notes, and snippets.

@goshki
Created September 24, 2010 09:49
Show Gist options
  • Save goshki/595139 to your computer and use it in GitHub Desktop.
Save goshki/595139 to your computer and use it in GitHub Desktop.
Bash command to run a Java app with automatically generated classpath based on jars in 'lib' folder.
# Automatically generate Java app classpath based on jars in 'lib' folder
javac -cp `echo lib/*jar | tr ' ' :` App.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment