simpler Java installation
by Steve Fletcher · in Technical Issues · 03/19/2003 (11:47 pm) · 0 replies
Right now, my Java game contains the "shamanic" ritual of updating the system path to include Java. This step is unnecessary on Windows XP computers, but seems to be required on earlier versions of Windows (or am I wrong here?).
So can someone give me an alternative or at least help simplify my little piece of text about what to do? The piece of text follows:
You will be prompted to install Sun's java jre. If you do not have java 2 version 1.4 or higher, you MUST do this. If you already have it installed, you may be prompted to uninstall it by Sun's installation program - do NOT uninstall Java!!!
After this installation exits, you will also have to put Java in the system path unless you have Windows XP (in which case you'll just need to restart the computer).
To set the system path, do the following:
1. Open the start menu.
2. Pick "Programs".
3. Pick "Accessories".
4. Pick "System Tools". If this is not there, go to the control panel (in my computer), pick "Add/Remove Programs", pick the tab saying "Windows Setup", make sure "System Tools" is checked, and then hit OK.
5. Pick "System Information".
6. Go to the "Tools" menu and pick "System Configuration Utility".
7. Pick the "Autoexec.bat" tab.
8. At the very bottom of the text area, add a line that says "SET PATH=%PATH%;C:\Program Files\Java\j2re1.4.1_01\bin", or if you installed Java's JRE somewhere other than C:\Program Files\Java\j2re1.4.1_01, include that directory instead (but make sure to remember the "bin").
9. Restart your computer.
You can find all this information in ecoheroes.htm.
- Steve Fletcher
So can someone give me an alternative or at least help simplify my little piece of text about what to do? The piece of text follows:
You will be prompted to install Sun's java jre. If you do not have java 2 version 1.4 or higher, you MUST do this. If you already have it installed, you may be prompted to uninstall it by Sun's installation program - do NOT uninstall Java!!!
After this installation exits, you will also have to put Java in the system path unless you have Windows XP (in which case you'll just need to restart the computer).
To set the system path, do the following:
1. Open the start menu.
2. Pick "Programs".
3. Pick "Accessories".
4. Pick "System Tools". If this is not there, go to the control panel (in my computer), pick "Add/Remove Programs", pick the tab saying "Windows Setup", make sure "System Tools" is checked, and then hit OK.
5. Pick "System Information".
6. Go to the "Tools" menu and pick "System Configuration Utility".
7. Pick the "Autoexec.bat" tab.
8. At the very bottom of the text area, add a line that says "SET PATH=%PATH%;C:\Program Files\Java\j2re1.4.1_01\bin", or if you installed Java's JRE somewhere other than C:\Program Files\Java\j2re1.4.1_01, include that directory instead (but make sure to remember the "bin").
9. Restart your computer.
You can find all this information in ecoheroes.htm.
- Steve Fletcher
About the author