title: Eclipse obsolete methods on the stack
body: <p>I'm using Eclipse for Java on my Macbook air, OS 10.9. I keep getting the error <code>Obsolete Methods on the Stack</code>, with a warning about how it may cause problems with the virtual machine when I run very basic programs that have no errors. I ran a program that just had the class and the main method and I got this error. After the error box, the bug referred to the main method, but I know the syntax is correct because I used Eclipse's main method.</p>
  
  <pre><code>import java.util.Scanner;
  
  public class Dowhile {
  
      public static void main(String[] args) {
          /*Scanner scanner = new Scanner(System.in);
          System.out.println("Enter a number");
          int value = scanner.nextInt();
          System.out.println(value);*/
          /*do{
              System.out.println("Enter a number ");
              int value = scanner.nextInt();
  
          }
          while(value != 5);
          System.out.println("Got 5");*/
      }
  }
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p>I'm not getting the obsolete methods error now, just <code>Exception in thread "main"... at line 5</code>.</p>