Windows下,sublim text 3 编译及运行Java代码配置
1.新建runJava.bat批处理文件,内容如下:
@echo off
cd %~dp1
echo Compiling %~nx1......
if exist %~n1.class (
del %~n1.class
)
javac %~nx1
if exist %~n1.class (
echo ------Output------
java %~n1
)2.将runJava.bat文
原创
2015-10-19 22:52:24 ·
739 阅读 ·
0 评论