I have spent the last couple of hours wondering why it isn't working. I'm working along with Java for dumbies and came across the first code to have it spit out "Hello World."
Using NetBeans that was recomended I typed in this right out of the book...
public class HelloApp
{
public static void main (String[] args)
{
System.out.println("Hello, World!");
}
}
The book then said to save and open up a command line program and do the CD to find the directory and the JAVAC command to run the app but I get an error message.
I followed the book and looked over what was supposed to be in Cap and small case. O' and it is PRINTLN even though it looks like an eye.
Is there a differance between the Book which he wrote on a Windows machine Vs. my Mac?
-Lars
Using NetBeans that was recomended I typed in this right out of the book...
public class HelloApp
{
public static void main (String[] args)
{
System.out.println("Hello, World!");
}
}
The book then said to save and open up a command line program and do the CD to find the directory and the JAVAC command to run the app but I get an error message.
I followed the book and looked over what was supposed to be in Cap and small case. O' and it is PRINTLN even though it looks like an eye.
Is there a differance between the Book which he wrote on a Windows machine Vs. my Mac?
-Lars