Last active
July 23, 2020 20:26
-
-
Save burturt/d4e813a8e3c61bb51af4b3a41ada8b87 to your computer and use it in GitHub Desktop.
Sublime text 3 build command to use terminal to compile and run java since the built-in console does not have user input. MacOSX only.
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
{ | |
"shell_cmd": "osascript -e 'tell app \"Terminal\" to do script \"cd $file_path && javac *.java && java $file_base_name\" in front window activate'" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Couple notes: