How to Run Java Program in Sublime Text Editor ?

How to Run Java Program in Sublime Text Editor ?

PRO Coder

54 года назад

69,586 Просмотров

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
Ссылки и html тэги не поддерживаются


Комментарии: