Skip to content

How to include JNI related files, documentation not clear #117

Open

Description

@chjan

Hi

Documentation is well written, but one thing:

It would be great if you could, either here, or in the documentation, or per link to example, show an example on how to include (in the case of Windows) DLL files that is part of a JNI solution. Or generalized: How to include non java files in the package in such a way that those files end up in the same folder as the java executable application after install.

I have read both the documentation for this plugin and for jpackage, but in vain. I am stuck.

Many thanks

Activity

  1. siordache commented on Jan 23, 2022

    @siordache
    Member

    Have a look at this project: https://github.com/PaulWinstone/demoModule .

    There are several things to do, but the most important is this one.

  2. chjan commented on Jan 24, 2022

    @chjan
    Author

    Thanks. For my study.

  3. ctadlock commented on Jun 14, 2022

    @ctadlock

    Embedd the dlls as resources and extract them at runtime and then load them. Much easier than messing around with packaging.

  4. chjan commented on Jun 14, 2022

    @chjan
    Author

    good idea. Will try that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions