How to properly define JAVA_HOME in the system?