修改
/Users/$username/Library/Application Support/Sublime Text 2/Packages/Java/JavaC.sublime-build
为:
{
"cmd": ["java", "$file_base_name"],
"file_regex": "^ *\\[javac\\] (.+):([0-9]+):() (.*)$",
"selector": "source.java"
}
服务器之家 > 正文
修改
/Users/$username/Library/Application Support/Sublime Text 2/Packages/Java/JavaC.sublime-build
为: