creating java_home attribute for shark_env