- open 7-zip as administrator
- go to
C:\Program Files\Sublime Text 3\Packages\
- find
Java.sublime-package
file and open -
JavaC.sublime-build
file and edit - delete everything and add
{
"cmd": ["javac", "$file_name","&&","java", "$file_base_name"],
"file_regex": "^(...?):([0-9]):?([0-9]*)",
"selector": "source.java",
"shell": true
}
- save file and confirm change