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

Is it possible to link a static library to Java through JNA?

Open
#387 5 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

Is it possible to build a .lib(.a) file and load it to a Java application using JNA? Is it the only way of creating a dynamic library from a static one?

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 by reviewing JNA's existing native-library loading behavior and the distinction between static .lib/.a files and dynamic libraries in the issue discussion. Determine whether supporting direct static-library use is a defined change or only a usage question; done is not specified by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.