Sublime Text 3编译运行Java


方式一:

新建一个
Building System(Tools–>Building System–>New Building System),
在弹出的文本框里面输入以下内容:


{ "cmd": ["javac", "$file_name", "&&", "java", "$file_base_name"], "working_dir": "${project_path:${folder}}", "selector": "source.java", "shell": true, "encoding":"gbk" } "encoding":"gbk"

编码可以根据情况更换utf-8.


给个github follow me的链接,上面有很多初学者可供学习的资料,项目.

https://github.com/SuperZee

你可能感兴趣的:(Sublime Text 3编译运行Java)