IBM User Guide for Java V7 on Windows > Installing and configuring the SDK and Runtime Environment
Setting the path
If you alter the PATH environment variable, you will override any existing Java™ launchers in your path.
The PATH environment variable enables Windows to find programs and utilities, such as javac, java, and javadoc tool, from any current directory. To display the current value of your PATH, type the following command at a command prompt:
echo %PATH%To add the Java launchers to your path:
- If you installed the SDK or Runtime Environment in C:\Program Files\IBM\Java70\ add the following directories to the PATH environment variable:
- C:\Program Files\IBM\Java70\bin (SDK only)
- C:\Program Files\IBM\Java70\jre\bin (SDK and Runtime Environment)
- Close and reopen any command prompt windows to activate the new PATH environment variable.
Results
After setting the path, you can run a tool by typing its name at a command prompt from any directory. For example, to compile the file Myfile.Java, at a command prompt, type:javac Myfile.Java
Parent: Installing and configuring the SDK and Runtime Environment
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.