So i've put the bat file in C:\Program Files\Java\jdk*\bin\
and named it javacexec.bat
then I edited JavaC.sublime-build so that it says
"cmd": "javacexec.bat", "$file"],
but when press F7 or build i just get console at the bottom of the window that says
Error 2] The system cannot find the file specified
I've tried putting the file I was trying to compile and run in the root of my hard drive and running sublime text as administrator but nothing seems to work. I'm running Win7 btw.