Now home directory for jdk will be: “C:\Program Files\Java\jdk1 .
Read moreHow do I add Java to path in Windows 10?
Setting Java Path in Windows
Read moreHow do I set Java Home path in Windows 10?
How to set JAVA_HOME on Windows 10?
Read moreWhat is JAVA_HOME directory?
JAVA_HOME is an operating system (OS) environment variable which can optionally be set after either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) is installed . The JAVA_HOME environment variable points to the file system location where the JDK or JRE was installed.
Read moreDo I need to add JAVA_HOME to path?
Short answer, YES, you do need to set JAVA_HOME .
Read moreHow do I update Java in Flutter?
Go to File > Project Structure. Select the SDK Location section in the list of the left. Deselect the Use embedded JDK (recommended) option. Enter the absolute path of your installed JDK in the text box.
Read more