How to set up compiling java code in Sublime text?
class A { } class B extends A{ } class C extends B{ public static void main(String ...args){ A a =new B(); } }
There is such a code. I need to subclime to compile it and run the class in which there is a method Maine. In this case, the name of the file in which this code lies can be anything. For example, the file test.java and the code above. I need to compile and run this code in the sublime. How to set it up?