Fix initialization of Java folder in JDKPathPanel

If JAVA_HOME is defined, previous code would init Java folder to JAVA_HOME's parent, which is incorrect. JAVA_HOME should be used as is. As a result, one would get an error popup on entering the JDKPanel