next up previous contents index
Next: For Cywin. Up: Installing hpjdk Previous: For Linux or UNIX.   Contents   Index

For Windows command prompt.

Before trying to install hpjdk, ensure your environment is set up so that the javac and java commands are working correctly from the command prompt.

Download hpjdk-1.0.zip. Using WinZip or an equivalent program, extract all files in this archive. For illustration, we assume you just extract to c:\. Make sure you have selected the option that preserves folder names. If successful, this will create a folder c:\hpjdk\.

Now you must set three environment variables correctly. First you need to create an environment variable HPJAVA_HOME, pointing to the folder under which hpjdk is installed. Secondly, you need to add the folders hpjdk\classes\ and hpjdk\classes\multithreaded\ to your CLASSPATH environment variable. Finally, you should add the folder hpjdk\bin\ to your PATH environment variable. One way to set these variables is to add the following lines to the file c:\AUTOEXEC.BAT:

\begin{displaymath}
\begin{minipage}[t]{\linewidth}\small\begin{verbatim}set H...
...
set PATH=%HPJAVA_HOME%\bin;%PATH%
\end{verbatim}\end{minipage}\end{displaymath}

then reboot your computer (or log out and log in again, on modern versions of Windows). Alternatively you can use the Windows system menu to define these variables.


next up previous contents index
Next: For Cywin. Up: Installing hpjdk Previous: For Linux or UNIX.   Contents   Index
Bryan Carpenter 2003-04-15