[RESOLVED] Error compiling "Hello World"
Hi:
Thanks for assistance, much appreciated!!!!!!!!!!!!
Made alterations to Environment Variables and all issues resolved. However I have stumbled upon another!
Tried attempting to input the following code:
Code:
public class HelloWorld
{
public static void main(String[] args)
{
System.out.print1n("Hello World");
}
}
When I compile using:
javac HelloWorld.java
I have the following error related message:
Code:
HelloWorld.java:5: Cannot resolve symbol
symbol : method print1n (java.lang.String)
location: class java.io. PrintStream
System.out.print1n("Hello World");
^
This is my first program, hence "Hello World", therefore any help very much appreciated!
Thanks
Re: Error compiling "Hello World"
The thanks relates to the JDK Install Issue! forgot to mention!!!!!!!!!!!
Re: Error compiling "Hello World"
simple problem:
Quote:
System.out.print1n("Hello World");
u have a 1 there instead of an l
Re: Error compiling "Hello World"
Hi,
Your welcome...Don't forget to mark that thread as Resolved...
Greg :) :) :)
Re: Error compiling "Hello World"
ooops! I thought the course reference material showed a 1!
Once again thanks for assistance.
p.s. any recommendations on Java books? and IDE's?
Olly