Compiling and Running Java Code in Sublime Text 2

前端 未结 19 2767
执念已碎
执念已碎 2020-11-28 01:20

I am trying to compile and run Java code in Sublime Text 2. Don\'t just tell me to do it manually in the Command Prompt. Can anyone tell me how?

Btw, I am on Windows

19条回答
  •  Happy的楠姐
    2020-11-28 02:09

    This is code to compile and run java in sublime text 3

    "shell_cmd": "javac -d . $file && java ${file_base_name}.${file_base_name}", "shell": true

提交回复
热议问题