If you set java_home environment variable, it may fix lot of problems. like ‘no JDK found’ when you try to install Android Studio, after Installation of Java, etc…
Open your System Details folder using following ways,
Control Panel\System and Security\System
Control Panel\All Control Panel Items\System
Open System Properties by clicking of Advanced System Settings. You can find ‘Advanced System Settings’ in left sidebar.
In that ‘System Properties’, click Environment Variables Button.
Now you’ll get ‘Environment Variables’ window. There, click NEW button under the ‘System Variables’. Make sure there is no System Variables with name of ‘java_home’.
In New System Variables window, Give your Variable’s Name and Value. For Example,
Variable name : JAVA_HOME
Variable value : C:/Program Files/Java/jdk1.8.0_25[your version/file]
Then, Click ‘OK’,’OK’ and ‘OK’.
Now you are created…
Step to set java_home environment variable in windows 7,8 for Java
Latest posts by karsho (see all)
- Increase maximum query size max_allowed_packet for MySQL - March 29, 2020