- Open System Properties. (My Computer > Properties)
- In the Advanced tab, click Environment Variables.
- In the User variables for section of Environment Variables dialog box, click New to create new variables. Ensure you create new variables for Java, Ant, Oracle as shown in the following screenshot:
- Edit the path variable and map the environment variables of Java and Ant as shown in the following screenshot. Ensure that the variables are mapped to the folder that contains the installed files of Java, Oracle, and Ant.
- Click OK.
- Click OK on the Environment Variables dialog box.
To check if the environment variables are set correctly, at the command prompt check the version of Java installed on your system by entering the following command: If the environment variables are set correctly, the version of Java installed on your system is displayed.
|