Created
May 23, 2013 23:07
-
-
Save 89465127/5640183 to your computer and use it in GitHub Desktop.
How to compile and run Java and Scala programs by setting the classpath properly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javac -cp ".:*" Program.java && java -cp ".:*" Program | |
# : is the delimiter | |
# This method is useful to include all items in the current directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment