Java Setup Problem?
Posted: Thu Aug 28, 2003 4:03 pm
Hi,
I just installed java and then Textpad on a computer and I think there may be a problem with the setup. I created a very simple class to test that it could run. The code is as follows:
public class test
{
System.out.println("Hi");
}
When compiled I get the following errors:
test.java:3: <identifier> expected
System.out.println("Hi");
^
java:3: cannot resolve symbol
symbol : class out
location: class java.lang.System
System.out.println("Hi");
^
Please help!
Thanks in advance,
Denise
I just installed java and then Textpad on a computer and I think there may be a problem with the setup. I created a very simple class to test that it could run. The code is as follows:
public class test
{
System.out.println("Hi");
}
When compiled I get the following errors:
test.java:3: <identifier> expected
System.out.println("Hi");
^
java:3: cannot resolve symbol
symbol : class out
location: class java.lang.System
System.out.println("Hi");
^
Please help!
Thanks in advance,
Denise