Create a gist now

Instantly share code, notes, and snippets.

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
Owner
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