Fix initialization of Java folder in JDKPathPanel

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