Ok so I tried it... and since Im not good at python I dont know what to change in order to make it work. I dont know what to replace argument1 for
This is my run.py file
import sublime, sublimeplugin
# This simple plugin will add 'Hello, World!' to the end of the buffer when run.
# To run it, save it within the User/ directory, then open the console (Ctrl+~),
# and type: view.runCommand('sample')
# See http://www.sublimetext.com/docs/plugin-basics for more information
def run(self, args):
subprocess.Popen("C:\Program Files\Java\jdk1.6.0_16\bin\java.exe", "$File"])
I dont know what to do from here
In order to run a java file you need to compile it (which works)
and then run in cmd the run command
java test (without the .java extension)
So can anybody help?