Setting up JAVA_HOME variable in windows | CodeWaala

For making your own extension the first step would be setting up java variables.

Setting Up JAVA_HOME

1. Locate the Java Directory

If you haven't change the path in installation then the java directory should be at "C:\Program Files\Java\jdk1.8.0_65"

Else type "where java" to get the directory of java jdk.

2. Do according to your computer

Windows 7 - Right click on My Computer > properties > advanced

Windows 8 – Go to Control Panel > System > Advanced System Settings

Windows 10 – Search for Environment Variables then select Edit the system environment variables

Click the Environment Variables button.

Under System Variables, click New.

In the Variable Name field, enter either:

      • JAVA_HOME for JDK (Java Development Kit)

3. Now put the path to JDK directory


Now save by clicking ok and apply the changes.

After you setup java variables yoully need to reopen the git command prompt to apply new settings.

And this is how you can set up JAVA_HOME variable.

Comments

Post a Comment

Popular posts from this blog

Make your own App Inventor Extension using App Inventor Sources & Online Builders | Codewaala

Working With OpenWeather Maps API for making a Weather Application