How to set JAVA_HOME on Windows 10…
https://mkyong.com/java/how-to-set-java_home-on-windows-10/
How to set JAVA_HOME on Windows 10? Open the Windows Start menu. Type "Advanced system settings" and click on "View advanced system settings". Click on the "Environment Variables" button. Under System Variables, click "New". In the Variable Name field, enter either "JAVA_HOME" if you installed the JDK (Java Development Kit) or "JRE_HOME" if you installed the JRE (Java Runtime Environment). In the Variable Value field, enter the path to the JDK or JRE installed folder. Click "OK" to save the changes. Update the system path to include the bin folder of the JDK or JRE installed folder. Test the configuration by opening a command prompt and typing "java -version". 1. Advanced System Settings Type advanced system settings in the search box (beside the Windows start button), clicks View advanced system settings.
Open the Windows Start menu.
Type "Advanced system settings" and click on "View advanced system settings".
Click on the "Environment Variables" button.
Under System Variables, click "New".
In the Variable Name field, enter either "JAVA_HOME" if you installed the JDK (Java Development Kit) or "JRE_HOME" if you installed the JRE (Java Runtime Environment).
In the Variable Value field, enter the path to the JDK or JRE installed folder.
Click "OK" to save the changes.
Update the system path to include the bin folder of the JDK or JRE installed folder.
Test the configuration by opening a command prompt and typing "java -version".
1. Advanced System Settings Type advanced system settings in the search box (beside the Windows start button), clicks View advanced system settings.
DA: 27 PA: 64 MOZ Rank: 6