use_java function

Install specified Java version and set the JAVA_HOME and PATH environment variables in current R session