title: Error: Keyboard cannot be resolved
body: <p>I want to write a simple program that reads an array from the keyboard and paste it on the screen. When I compile it, I get the following error:</p>
  
  <pre><code>Keyboard cannot be resolved
  </code></pre>
  
  <p>Here's my code:</p>
  
  <pre><code>import java.util.*;
  import java.io.*;
  
      public class Test2
      {
          public static void main (String args[])
          {
              int i, n;
              int[] myList= new int[100];
              System.out.println ("n= "); Keyboard.getInt(n);
              for (i=1; i&lt;=n; i++)
              {
                  System.out.println ("myList[" + i + "]= ");
                  Keyboard.getInt(myList[i]);
              }
              for (i=1; i&lt;=n; i++)
                  System.out.println (myList[i]);
          }
  
      }
  </code></pre>
  
  <p>I'm working with Eclipse Luna. Do I need to download any package to use the function Keyboard.getInt?
  Thank you!</p>