try java wrapper approach to set JAVA_HOME