The JAVA_HOME variable is needed only if you are working in the command-line environment. If you are exclusively using Eclipse, you do not need to add it.

1. Right-click My Computer and select Properties.

2. Select the Advanced tab on the System Properties window and click the Environment Variables button. This will open an Environment Variables window.

3. Click the New button to add a new variable named JAVA_HOME. The value for the variable should be the full path to your Java SDK, as seen in the following illustration.

System Properties S

Computer Name Hardware


,£ystem Protection Remote

Environment Variables

User variables for FDiMarzio

User variables for FDiMarzio

System variables
0 0

Post a comment