OS: Windows 7 64bit.
Delivered the latest Java 7 SE, Sublime Text 2.
Registered path, CLASSPATH
Created in ST2 the simplest piece of code (like helloworld). I choose the type of build - javac, click - Build - a delay of 4 seconds and that's it. The test.class file does not appear in the folder with test.java. If I run cmd.exe - I’m writing javac test.java there - everything compiles perfectly and the test.class file is created.
I was looking for logs in ST2 - but I did not find it, where is the plug?

  • put the normal ide - gorets
  • Well, if the problem is not solved - put. but while I master java - I train where it is simpler - to fill my hand - rashid80

1 answer 1

In Preferences-> Browse Packages-> Java-> JavaC.sublime-build, see.

Documentation to this.

  • Yes, there also looked - javac starts there. those. Everything is fine - rashid80
  • This is what the ST2 log writes: Running javac D: \ Java \ test.java Traceback (most recent call last): File ". \ Sublime_plugin.py", line 337, in run_ File ". \ Exec.py", line 154, in run File ". \ exec.py", line 45, in init UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 9: ordinal not in range (128) And what about ascii encoding? - rashid80
  • Perhaps you have Russian characters in the program in a way. Or notice, [solution] [1] of a similar problem. [1]: sublimetext.com/forum/viewtopic.php?f=3&t=8512 Although it's really better to use an IDE, for example IntelliJ IDEA. - zvlex