Skip to content

Instantly share code, notes, and snippets.

@jfcalvo
Created September 26, 2012 18:21
Show Gist options
  • Save jfcalvo/3789664 to your computer and use it in GitHub Desktop.
Save jfcalvo/3789664 to your computer and use it in GitHub Desktop.
Sublime Text 2 Build System for Java (Compile and running)
{
"cmd": ["javac \"$file_name\" && java \"$file_base_name\""],
"shell": true,
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.java"
}
@YA2O
Copy link

YA2O commented Sep 3, 2014

Thx! Works for me on Sublime Text 2 build 2221, OS X 10.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment