title: SublimeText3 doesn't recognize Scanner class
body: <p>I'm using a custom build system to compile and run java programs.</p>
  
  <p>The build system:</p>
  
  <pre><code>{
       "cmd": ["C:\\Program Files (x86)\\Java\\jdk1.8.0\\bin\\javac", "$file"],
       "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
       "selector": "source.java",
       "variants":
       [
       {
            "name": "Run",
            "cmd": ["C:\\Program Files (x86)\\Java\\jdk1.8.0\\bin\\java.exe", "$file_base_name"]
       }
       ]
  }
  </code></pre>
  
  <p>This works perfectly as long as I never ask for input. This is the error I get with this simple program:</p>
  
  <p>Program:</p>
  
  <pre><code>import java.util.Scanner;
  
  public class Test
  {
      public static void main(String [] args)
      {
          Scanner leopard = new Scanner(System.in);
  
          int a = leopard.nextInt();
          System.out.println(a);
      }
  }
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Exception in thread "main" java.util.NoSuchElementException
      at java.util.Scanner.throwFor(Scanner.java:862)
      at java.util.Scanner.next(Scanner.java:1485)
      at java.util.Scanner.nextInt(Scanner.java:2117)
      at java.util.Scanner.nextInt(Scanner.java:2076)
      at Test.main(Test.java:9)
  [Finished in 1.3s with exit code 1]
  [cmd: ['C:\\Program Files (x86)\\Java\\jdk1.8.0\\bin\\java.exe', 'Test']]
  [dir: C:\Users\yayu\Desktop]
  [path: C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Java\jdk1.8.0\bin]
  </code></pre>
  
  <p>My question is if there is any way to get the Scanner class working in SublimeText3?</p>