java_env_set_session function

Set the JAVA_HOME and PATH environment variables for the current session