Set the JAVA_HOME and PATH environment variables for the current session
java_env_set_session(java_home)
java_home
The path to the desired JAVA_HOME.