I installed using jdk-6u7-windows-i586-p installer.
I'm using jGrasp for my IDE.
public test
{
public static void main(String[] args)
{
System.out.println( "Testing" );
}
}
I get the following error message when compiling
test.java:1: class, interface, or enum expected
public test
^
test.java:3: class, interface, or enum expected
public static void main(String[] args)
^
test.java:6: class, interface, or enum expected
}
^
3 errors
This makes no sense to me. I'm thinking maybe my IDE or jdk is misconfigured but I'm not sure.