I put the path to the javac.exe to the enviromental variables. I wrote the example “Hello World!” java program, and if i hit F7 to compile it in sublimetext, on the output panel it writes [Finished in 0.234 seconds], but it doesn’t make a hello.class file.
Console after compiling:
running command javac.exe "C:\Java\hello.java" from directory C:\Java
exec: trying C:\WINDOWS\system32\cmd.exe /A /S /C "javac.exe "C:\Java\hello.java""
If I insert manually the C:\WINDOWS\system32\cmd.exe /A /S /C “javac.exe “C:\Java\hello.java”” command in the command line, it makes the hello.class file without a problem.
JavaC.sublime-build:
build javac.exe "$File"
lineNumberRegex ^(...*?):([0-9]*):?([0-9]*)
Anyone have any idea why it doesn’t make the class file?
Thanks for the help.