<!--
  ~ Copyright 2005-2007 WSO2, Inc. (http://wso2.com)
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
        "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
        <title>How to setup JAVA_HOME environment variable in Windows</title>
    </head>
    <body>
        <h2>How to setup JAVA_HOME environment variable in Windows</h2>

        <p>Please follow the instructions to set up JAVA_HOME environment variable in your computer.
            First find out the installation folder of Java development kit (JDK) in your machine.
            Let's
            assume it is installed in the folder "C:/j2sdk1.4.2"
        </p>

        <ol>
            <li>Right click on the My Computer icon on your desktop and select properties</li>
            <li>Click the Advanced Tab</li>
            <li>Click the Environment Variables button</li>
            <li>Under System Variable, click New</li>
            <li>Enter the variable name as JAVA_HOME</li>
            <li>Enter the variable value as the install path for the Development Kit</li>
            <li>Click OK</li>
            <li>Click Apply Changes</li>

        </ol>

        <img src="images/set-java-home.jpg" width="802" height="590" alt=""/>
    </body>
</html>