Actually, I can. I can compile and run Java via JavaC.sublime-build, after making a few modifications to it:
- Code: Select all
{
"shell": "true",
"cmd": ["javac", "$file", "&", "java", "$file_base_name"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.java"
}
...But the problem is that if the program asks for user input, it will just give an error. So I have to use Java from the command line to get any program with user input to work.
Here is an example of the problem:
