set JAVA_HOME to the oracle sdk in the system-wide environment. This avoids several cases of the use of readlink, and helps with the rest to resolve #23