java-native-access / java-native-access/jna
JNA on IBM ZOS (OS/390)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Trying to run Apache-cassandra on IBM z/OS USS environment. It fails to start with the following error -
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/z/os-s390x/libjnidispatch.so) not found in resource path.
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:866) ~[jna-4.2.2.jar:4.2.2-SNAPSHOT (b0)]
System architecture: OS/390
Java:
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 8.0.6.0 - pmz6480sr6-20191107_01(SR6))
IBM J9 VM (build 2.9, JRE 1.8.0 z/OS s390x-64-Bit Compressed References 20191106_432135 (JIT enabled, AOT enabled)
OpenJ9 - f0b6be7
OMR - 18d8f94
IBM - 233dfb5)
JCL - 20191016_01 based on Oracle jdk8u231-b10
Looking for IBM zOS port of the JNA library.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Native.loadNativeDispatchLibraryFromClasspath in Native.java and reproduce the missing com/sun/jna/z/os-s390x/libjnidispatch.so error in the reported IBM z/OS USS environment. Investigate whether a z/OS s390x JNA native library can be provided; done means the library is found and JNA loads successfully on that platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100