In this video we will see how to Run Java Program in Sublime Text Editor.
Note : You must have JDK(Java Development Kit) installed with Path set to Environment Variable on your computer.
To know to how to download and setup JDK:
https://youtu.be/k1Jle5txBQA
Commands For Executing Java Program:
{
"cmd": [
"javac",
"$file_name",
"&&",
"start",
"cmd",
"/k",
"java",
"$file_base_name"
],
"selector": "source.java",
"working_dir": "${file_path}",
"shell": true
}
Тэги:
#JAVA #JDK #CODE #SublimeText #Run #Execute #Windows #Programming #Tricks #CommandPrompt