Question:

Help with Java!? Having problems with Compiler?

by  |  earlier

0 LIKES UnLike

I am trying to get my Hello World program to work.

heres what I have done:

I installed JDK

I think I did the Paths right

I wrote my code in Notepad and saved it as .java

now on the command line when I try to use the compiler it does this>

i enter: javac HelloWorld.java

it says: HelloWorld.java:3: <identifier> expected

System.out.println.("Go home");

^

1 error

What does this mean?

 Tags:

   Report

1 ANSWERS


  1. Here is a great place to get help called Java forums

    http://bytes.com/forum/forum130.html

    ps Would need to see your code any way take a look at your code did you end your codes with ;

    also look at your code again where you typed

    System.out.println(&quot;Go home&quot;);   /make sure you did not use printline instead of println

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.