how to set environment variable for java in windows 10 as i have tried the normal method of setting environment name as 'Path' and environment value as the location of bin folder of jdk
and i have also tried environment name as 'JAVA_HOME' and environment value as the location of jdk folder and setting the path as some address as shown in an youtube video