|
-
May 20th, 2006, 06:03 PM
#1
Thread Starter
Hyperactive Member
[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
-
May 20th, 2006, 06:08 PM
#2
Thread Starter
Hyperactive Member
Re: Error compiling "Hello World"
The thanks relates to the JDK Install Issue! forgot to mention!!!!!!!!!!!
-
May 20th, 2006, 07:56 PM
#3
Addicted Member
Re: Error compiling "Hello World"
simple problem:
System.out.print 1n("Hello World");
u have a 1 there instead of an l
-
May 21st, 2006, 01:38 AM
#4
-
May 21st, 2006, 04:03 AM
#5
Thread Starter
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|