Skip to content

Instantly share code, notes, and snippets.

@natcl
Last active February 27, 2016 19:55
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natcl/5580623 to your computer and use it in GitHub Desktop.
Save natcl/5580623 to your computer and use it in GitHub Desktop.
A sublime build setting for compiling MXJ objects for Max/MSP
{
"cmd": ["javac", "-classpath", "/Applications/Max 6.1/Cycling '74/java/lib/jitter.jar:/Applications/Max 6.1/Cycling '74/java/lib/jode-1.1.2-pre-embedded.jar:/Applications/Max 6.1/Cycling '74/java/lib/jython.jar:/Applications/Max 6.1/Cycling '74/java/lib/log4j-1.2.16.jar:/Applications/Max 6.1/Cycling '74/java/lib/max.jar:/Applications/Max 6.1/Cycling '74/java/lib/net.loadbang.jython-1.2.1.jar:/Applications/Max 6.1/Cycling '74/java/lib/net.loadbang.lib-1.8.0.jar:/Applications/Max 6.1/Cycling '74/java/lib/net.loadbang.scripting-1.1.0.jar:/Applications/Max 6.1/Cycling '74/java/classes/", "$file"],
"file_regex": "^ *\\[javac\\] (.+):([0-9]+):() (.*)$"
}
@natcl
Copy link
Author

natcl commented May 14, 2013

remove the .json and place it in ~/Application Support/Sublime Text 3/Packages/User/
This will allow you to compile the java classes by pressing command-b and you will also get error output.

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