hi,
im new to java and i am used to doing my coding in my java class in Jcreator.
I understand how to set up cs1.keyboard in jcreator,
but i need to do my homework and code java at home, but i run linux at home and jcreator doesn't work with linux. and also i want to learn how to do it out of Jcreator.
i just made this simple program to see if the keyboard class would work
i compile the program and im getting
"AYBABTU.java:1: package cs1 does not exist"
where can i get this package and how do i set it up to use it in linux.
im new to java and i am used to doing my coding in my java class in Jcreator.
I understand how to set up cs1.keyboard in jcreator,
but i need to do my homework and code java at home, but i run linux at home and jcreator doesn't work with linux. and also i want to learn how to do it out of Jcreator.
i just made this simple program to see if the keyboard class would work
Code:
import cs1.Keyboard;
public class AYBABTU{
public static void main (String[] args){
System.out.println("How many bases do you have?");
int bases;
bases = Keyboard.readInt();
System.out.println("All Your " + bases);
System.out.print (" Bases Are Belong to US");
}
}
i compile the program and im getting
"AYBABTU.java:1: package cs1 does not exist"
where can i get this package and how do i set it up to use it in linux.