Sublime Forum

Cannot run program- Please help

#1

Hi, I have change the build system so can i run programs on sublime text, but when i try this come up;

[WinError 2] The system cannot find the file specified
[cmd: [‘javac’, ‘-Xlint:none’, ‘-cp’, ‘.;…’, ‘-encoding’, ‘utf8’, ‘’]]
[dir: C:\Program Files\Sublime Text 3]
[path: C:\Program Files\Java\jdk-11.0.1\bin]
[Finished]

Please help

0 Likes

#2

try this may be it works
[cmd: [‘javac’, ‘-Xlint:none’, ‘-cp’, .’, ‘-encoding’, ‘’]]
[dir: C:\Program Files\Sublime Text 3]
[path: C:\Program Files\Java\jdk-11.0.1\bin]
[Finished]

0 Likes

#4

where do i write that?

0 Likes

#5

i need help with this to the programing language I am using is Python

0 Likes

#6

Sublime ships with a build that can execute Python already, so you just need to either select Python from the list of builds in Tools > Build System, or select Automatic from that location (which will cause Sublime to choose the Python build automatically when you run a build, if the current file is Python).

Once you do that, the Tools > Build command would run the build; does this not work for you?

0 Likes