
I have maven3 installed as mvn3, so edited setup.py to change mvn to mvn3 and rate CC=/opt/local/bin/gcc-mp-11 /usr/bin/python3 setup.py build maven bdist_wheel. I used git clone for the jpy-0.10.0-devel source.macOS users should set JAVA_JDK using the value returned byĮxport JAVA_JDK=$(/usr/libexec/java_home).This is required by some java-based app bundles to recognize and use the JVM. Looking at the Portfile, installing the +JNI variant just makes the aboveĪdvertise the JVM capability “BundledApp”. The line JNI was not present in the version installed without the +JNI option. Rather than install the legacy package, I uninstalled openjdk8-zulu and ran: sudo port install openjdk8-zulu +JNIįor this version, /Library/Java/JavaVirtualMachines/openjdk8-zulu/Contents/ist has the section: JVMCapabilities I recently obtained access to macOS Catalina and was able to reproduce this for SNAP 8 using: sudo port install openjdk8-zulu This is a common issue for macOS users attempting to install applications that use the Java Native Interface (JNI).

One common oddity was a failure running snappy-conf accompanied by a popup requesting installation of the legacy Java SE 6 runtime. A number of users have struggled to get snappy working in recent macOS versions byīuilding jpy binary wheel.
