Memo to John Dell'Oso, Barry Gaunt and Layne Lund:
Thank you very much for your valuable help. You showed me the way to find out what was wrong with my Java program; I only had
C:\Program Files\Java\bin instead of
C:\Program Files\Java\jdk1.5.0.04\bin.
So I made an instruction shteet how to download jdk1.5.0_04 and followed it religiously. And now, my Java program works like a charm!
Here it is:
Foolproof Downloading of Java Program JDK-1_5_0_04 � NB-4_1.win.exe
Into a Pentium IV Computer with Windows XP:
Log on to:
http://java.sun.com/J2SE/ For J2SE-5.0
1.D/L: JDK-1_5_0_04-NB-4_1.win.exe (127 MB) D/L went fine on \\AMD)
2. Install at C: Same as under 1. (and <Enter>
gives: Welcome to the Install Wizard for Java 2- SED Kit, Update 4
and Netbeans IDE, 4.1.
This will install the above file on your computer; to
continue: choose NEXT.
3.Accept agreement
4. Installation locations will be as follows:
Netbeans:C:\Program Files\netbeans-4.1
J2SDK : C:\Program Files\Java\jdk1.5.0_04
Total size: 453 MB
5. Now installing: - Netbeans
-JDK
-Java Runtime Environment
-Building Storage
-Creating Uninstaller
6. Installation: Successful.
7.J2SE Development Kit, Update 4, Install location
C:\Program Files\Java\jdk1.5.0_04
J2SE Runtime Environment, Update 4
C:\Program Files\Java\jre1.5.0_04
Netbeans IDE 4.1
C:\Program Files\netbeans-4.1
8.To run the IDE command, launch:
C:\Program Files\netbeans-4.1\bin\netbeans.exe
To uninstall the IDE:
C:\Program files\netbeans-4.1\uninst\uninstaller.exe
To uninstall J2SE Development Kit, Update 4:
Use Add or Remove Program in Control Panel
To uninstall J2SE Runtime Environment, Update 4:
Use Add or Remove Program in Control Panel.
9. Add the following line to your Autoexec.bat file:
SET PATH=%PATH%; C:\Program Files\Java\jdk1.5.0_04\bin
For Classpath, also add to your Autoexec.bat:
SET CLASSPATH=C:\Program Files\Java
10. Finish (Netbeans 4.1 icon showed up on Desktop)
11. To print �Tutorial� , go to the same URL as mentioned above.
--- End. (Thank you for your wonderful help). Charles.