title: How to make input ( Scanner ) work on Sublime Text 3 when using JAVA?
body: <p>I just started learning JAVA and Sublime Text 3 was proposed to me as a great compiler for JAVA code. I downloaded it, started programming and set my build system as JavaC. I wanted to create a quick program adding two numbers given by the user and displaying the result but nothing comes up in the "build" section. Do you have any idea to make that work ?</p>
  
  <p>Here is the code I wanna try:</p>
  
  <pre><code> import java.util.Scanner;
  
   public class Example
   {
       public static void main(String[] args)
       {
        int a,b;
        Scanner input=new Scanner(System.in);
        System.out.println("Enter a number:");
        a=input.nextInt();
        System.out.println("Enter a number:");
        b=input.nextInt();
        System.out.println("sum=" + (a+b));
       }
   }
  </code></pre>