java-native-access / java-native-access/jna

JNA on IBM ZOS (OS/390)

Open
#1,173 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.