Campbell Ritchie wrote:Welcome to the Ranch
Thanks!
Campbell Ritchie wrote:When you said %javac did you mean to include the % sign, or is that the prompt? It should read javac.
Actually, I later tried it without the % and it compiled, but the program didn't run.
Campbell Ritchie wrote:The step which causes the most confusion is setting the PATH. Don’t set a classpath at this stage.
My Java instructor from school set the path up and he ran a tested it and worked. And when I ran it, it did compile, but it didn't print anything. Any idea what the problem is?
Campbell Ritchie wrote: We have an FAQ which should answer all your questions. If you get the HelloWorld program to run (only it says something like “moo” not “Hello World”), you have set up Java™ correctly.
I will take a look at that, thanks.
My last question (for the moment) is can I go through the book using an
IDE or does the structure of the book require doing it from the command line?
Thanks for all your help!!
Barb