Home Download Buy Blog Forum Support

Problem with Java compiling

Problem with Java compiling

Postby makrela on Wed Apr 07, 2010 11:06 pm

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:
Code: Select all
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:
Code: Select all
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.
makrela
 
Posts: 1
Joined: Wed Apr 07, 2010 10:56 pm

Return to Technical Support

Who is online

Users browsing this forum: Majestic-12 [Bot], Yahoo [Bot] and 22 guests