I’m having a hard time setting up sublime text 3 with java on Mac. I tried to open the terminal and enter /usr/libexec/java_home. It show me this:/Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home. this is what I believe to be the pathway to my java.then I copy it into sublime text 3. and save it as java.subime-build. then I try to run “hello world” command and it says no build system.
to simplify it this is what it looks like before I save it on sublime editor:
{
“cmd”: [“javac”, “$file_name”,"&&",“java”, “$file_base_name”],
“file_regex”: “^[ ]File “(…?)”,line([0-9]*)”,
“path”: //Library//Java//JavaVirtualMachines//jdk-13.jdk/Contents/Home",
“selector”: “source.java”,
“shell”: true
}
now save as java.sublime-build but the code doesn’t run at all. it just says no build system. How do I resolve this issue?