jpype-project / jpype

JPype is cross language bridge to allow Python programs full access to Java class libraries.
http://www.jpype.org
Apache License 2.0
1.1k stars 179 forks source link

Zulu's openjdk8 cannot use jpype #1090

Open howdypl opened 2 years ago

howdypl commented 2 years ago

![Uploading image.png…]()

howdypl commented 2 years ago
image
howdypl commented 2 years ago

Arm architecture

Thrameos commented 2 years ago

Not sure I can be much assistance on this one. Does the Python and JVM have the same machine architectures? Multiple threads indicate that this is a bug of some kind in the JVM and not necessarily tied to the JPype. I would suggest moving to a later version of the JVM to see if it works there.

marscher commented 1 year ago

Could you please try to compile JPype yourself using the JDK on the target system? So set the environment variable JAVA_HOME to your JDK and then invoke pip install https://github.com/jpype-project/jpype

I suspect that our shipped jni.h may be the cause of this.