If that is the PhraseOMatic class, that looks as if it were running normally. You have probably forgotten to include spaces in the print instruction.
Donna Fuga wrote:okay...I keep trying. Now I am getting the following message when I try to run the compiled file:
'What we need is a critical-pathnetworkedsolution'. . . .
That sounds disastrous. Restore the system PATH to what it was before you started. Otherwise you might find yourself with other problems with Windows.
Donna Fuga wrote:. . . I just deleted the paths in my user and system environment.
Which CLASSPATH link? I hope nobody has told you to set a CLASSPATH.
I do not know what the HOW TO SET A CLASS PATH link is talking about!
Sorry if people are confusing you. As you will find, there are ways to set the PATH with our without setting JAVA_HOME. I think you need JAVA_HOME for Netbeans and some other applications but I am not sure. I had similar difficulties when I started (in those days the books still gave misleading advice to set a CLASSPATH), but once I found out I had to set a PATH, I found the instructions reasonably easy to follow. A lot of tutorials, including the Java™ Tutorials seem to give instructions older versions of Windows, but I don't believe the changes are that great. We have an FAQ of our own which includes how to set the PATH.
All I want to do is setup the path . . . My other option is to download netbeans and use that but I really wanted to do it without the netbean assistance.