I am using openjdk on Ubuntu and I am trying to wright the following program:
public class use
{
public static void main(String[] args)
{
System.out.print ("hi");
System.out.println(args[0]);
System.out.println("gal");
}
}
I got the program out of a handbook, but I constantly get the following error:
hiExeption in thread "main" java.lang.ArrayIndexOutOfBoundsExeption:0 at use.main(use.java:11)

