most basic "helloworld" problem

Hello World worked fine.But now I can't get anything other than "Hello World" even when I have completely altered the file.What am I missing?
[156 byte] By [dmroacha] at [2007-11-26 22:37:00]
# 1
Did you recompile? it is better practice to create a new file which describes your new program and run that. Also explain your problem more if you wish for help.
futureHeada at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...
# 2
ps-I am using the Xcode IDE.
dmroacha at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...
# 3
You need to try posting "ps -ef"
futureHeada at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...
# 4
after altering the code I am doing Build and Run in Xcode, but it runs the same old Hello World.I do not get any error messages, so far, on what I have added.Even the simplest alteration to hello world, like putting in new words in the quotes still does not change the output.
dmroacha at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...
# 5

The only explanations are:

- You (your IDE) don't recompile at all after editing the sources.

- You do recompile, but for some reason you are running the old .class file instead.

I suggest you look around in your project's folder for your .class file(s), delete them all and let your IDE build and run again. What happens?

(Actually I suggest you compile and run from command line or Ant instead...)

Lokoa at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...
# 6

> The only explanations are:

> - You (your IDE) don't recompile at all after editing

> the sources.

> - You do recompile, but for some reason you are

> running the old .class file instead.

>

Or you are not saving your work or trying to press f5 to refresh your project.

futureHeada at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...
# 7
Never used Xcode but it sounds like you have to set up a new run command. That is configure it to run your new program instead of the last one. Once done there is probably a list somewhere from which you can choose which program to run.
floundera at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...
# 8
Use the command line and eventually Ant, as someone mentioned earlier. It is much less stressful, and it will help you learn better.
Djaunla at 2007-7-10 11:47:42 > top of Java-index,Java Essentials,New To Java...