Hello World >:(

I've went through ALL the tutorials I could find for this, but it won't work. It is making me very mad. I have Windows XP. Can someone help me?
[152 byte] By [CyripticGhosta] at [2007-10-2 20:15:05]
# 1
We sure can if you can tell us what problems you're having.
Norweeda at 2007-7-13 22:57:20 > top of Java-index,Java Essentials,Java Programming...
# 2
> Can someone help me?Yes. It will be much easier to help if you describe what "won't work" means.~
yawmarka at 2007-7-13 22:57:20 > top of Java-index,Java Essentials,Java Programming...
# 3

Oh sorry. Well, I type up it up it notepad, then save it. But I might be saving it somewhere wrong. I open up Command Prompt and try to type in cd C:\java but it doesnt come up(most of the time) but when it does I type dir then the directory opens and my file is in it, but then when I type javac HelloWorldApp.java this error comes up

'javac' is not recognized as an internal or external command, operable program or batch file. I did what the error helper said to do when that error came up but it still isn't working. I'd thought I would ask you people because you have MUCH more experiance than me.

Thanks

-Ghost

Message was edited by:

CyripticGhost

CyripticGhosta at 2007-7-13 22:57:20 > top of Java-index,Java Essentials,Java Programming...
# 4

You need to modify your PATH so that the command shell knows where to find javac.exe. You'll also need to make sure you installed the JDK, not just the JRE.

I believe very detailed instructions on download, install, HelloWorld are here:

http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html

jverda at 2007-7-13 22:57:20 > top of Java-index,Java Essentials,Java Programming...
# 5

> command, operable program or batch file. I did what

> the error helper said to do when that error came up

> but it still isn't working.

No, I don't think so. If you'd followed those instructions exactly, I believe it would have worked.

Do this:

Type echo %PATH%

at the command prompt.

If you had set up the PATH env var as per the instructions, you'd see something like C:\jdk_1.5.0_something\bin in there.

One thing you must do--and I'm not sure if it's mentioned there--is close the command prompt and open a new one after modifying PATH.

jverda at 2007-7-13 22:57:20 > top of Java-index,Java Essentials,Java Programming...
# 6
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html Thats the link I used but didn't work. I'll try what you guys said.
CyripticGhosta at 2007-7-13 22:57:20 > top of Java-index,Java Essentials,Java Programming...
# 7

> http://java.sun.com/docs/books/tutorial/getStarted/cup

> ojava/win32.html

>

> Thats the link I used but didn't work.

Again, you need to tell us exactly what you did and exactly what "doesn't work" means.

As far as I know, the instructions there are correct.

jverda at 2007-7-13 22:57:20 > top of Java-index,Java Essentials,Java Programming...