This is sometimes a problem when `JAVA_HOME` is not set and JPype defaults to the `/bin/java` which on some OSes is Java 1.8 and can cause some issues.