Print this page and how many following pages?



Using Java on Windows NT/2000/XP

This document contains some important details required for easy use of Java on Windows NT4, 2000 and XP.

Install the latest version of Java by downloading the complete software development kit from Sun, currently about 46MB for J2SDK 1.4.2_02, and installing into the default location C:\j2sdk1.4.2_01.

Environment variables
When Java is installed edit some system environment variables.
On Windows 2000 you get to the environment variables by selecting
My computer | Properties | Advanced | Environmental Variables.

Edit the system environment JAVA_HOME to ensure it equals the installation directory, for instance the default location of C:\j2sdk1.4.2_01.

Edit the system environment PATH to ensure it includes the bin directory of the installation, for instance the default location of C:\j2sdk1.4.2_01\bin.
* Note that the changes to the system environment variables will not get to your SYSTEM user (the one which services are run under) until you reboot your computer.

Jedit, a great Java text editor package, does not find the path to Java from the JAVA_HOME environment variable. Instead you have to run the application jedinit.exe which comes with Jedit and resides in the same directory as the Jedit executable, usually C:\Program Files\jEdit 4.1.

The Eclipse Platform appears to locate the Java executable from the PATH or JAVA_HOME environment variables so nothing to do.

VeryQuickWiki Version 2.8.1 | Admin

All contents copyright (C) 2011-2023.