Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use only platform natives if you include every operating system native jars into same runnable jar #963

Open
goofyseeker311 opened this issue Mar 10, 2024 · 0 comments

Comments

@goofyseeker311
Copy link

goofyseeker311 commented Mar 10, 2024

Description

Currently if you add every platform into same runnable jar file, it gives this error (running from windows):
Platform available on classpath: linux/x64. IE it tries to load all of the platform natives not only the useful ones.
Of course one solution is to make a runnable jar for every platform separately. but it would be much better if it was just one fat jar.
Yes I mean for both the user application and the import native library, which would load all suitable native libraries by the platform.

this would also minimize all library setup if all the libraries are in one fat library-native jar module. yeah it would make some applications larger, but you can also provide the individual parts of the libraries separately, per platform, like its done now. or at least make each fat native jar contain all libraries for each platform in one package. to minimize library hassle.

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

No branches or pull requests

1 participant