HI All,
Just started some java in a local college and we seem to be using an older version of Jcreator along with jdk1.3. I have downloaded to most recent version of both to work on some code at home but seem to be having a problem getting Jcreator to recognise a Keyboard.readInt command.At college we have to point the Jcreator in a different path to a folder called KeySrc in JDk but this does not seem to exist in ther version I am using at home. Below is the code I am working on. using Jcreator 5 and jdk 1.6

class ch1ex9{
public static void main(String[]args){
int j;
System.out.print("Enter number:")
Keyboard.readInt();
System.out.println(j+"squared="+j*j)


When running this i get the message "Cannot find symbol variable keyboard". Im pretty sure that the command has been replaced by something else more modern but any help with this would be greatly appreciated as I have an exam on this coming up soon. Thanks guys.