I have installed Java 2 Develpment Kit Standard Version 1.4.2_02 on my computer. I am using Sam's Teach Yourself Java 2 in 21 days. One of the first coding tasks is to copy some code in the book and save it, "[...] into a folder you are using to work on programs for this book." The next instruction is as follows:
"If you are using the Software Development Kit, you can do the following to compile the program: Go to a command line or open a command-line window, open the folder where VolcanoRobot.java was saved, and then compile the program by typing the following command at the command line:
javac VolcanoRobot.java"
I can open the Java Web Start program, however I don't see an option to get to a command line. So I figure the book wants me to open a DOS window and navigate to the folder in which I saved the VolcanoRobot.java file. When I do so and attempt to compile the .java file, I get an error message indicating that the javac is not a valid command prompt.
Is the book telling me to open a DOS window?
Is there a command line option in the Java web Start?
When I installed the Java Dev Kit I used the default paths.
Do I need to save any .java files in a particular folder?
Instead of downloading the Java 2 Dev Kit for free, I purchased it from Sun. I did so thinking that if I had any issues, I would be entitled to some form of live tech support. I'm sad to report that Sun wants more money from me for support of any kind, except if I claim the install did not go properly.
All I want to do is get through the first compile. I can't seem to do that. What am I doing wrong?
Any help will be appreciated!
tia...mike
"If you are using the Software Development Kit, you can do the following to compile the program: Go to a command line or open a command-line window, open the folder where VolcanoRobot.java was saved, and then compile the program by typing the following command at the command line:
javac VolcanoRobot.java"
I can open the Java Web Start program, however I don't see an option to get to a command line. So I figure the book wants me to open a DOS window and navigate to the folder in which I saved the VolcanoRobot.java file. When I do so and attempt to compile the .java file, I get an error message indicating that the javac is not a valid command prompt.
Is the book telling me to open a DOS window?
Is there a command line option in the Java web Start?
When I installed the Java Dev Kit I used the default paths.
Do I need to save any .java files in a particular folder?
Instead of downloading the Java 2 Dev Kit for free, I purchased it from Sun. I did so thinking that if I had any issues, I would be entitled to some form of live tech support. I'm sad to report that Sun wants more money from me for support of any kind, except if I claim the install did not go properly.
All I want to do is get through the first compile. I can't seem to do that. What am I doing wrong?
Any help will be appreciated!
tia...mike