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

How to add the native lib to JUnit tests #80

Open
pjvds opened this issue Sep 19, 2023 · 0 comments
Open

How to add the native lib to JUnit tests #80

pjvds opened this issue Sep 19, 2023 · 0 comments

Comments

@pjvds
Copy link

pjvds commented Sep 19, 2023

The hidden secrets plugin is working for us as a charm. But as soon as we want to get a secret from a JUnit unit test it fails with:

no secrets in java.library.path: /Users/me/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
java.lang.UnsatisfiedLinkError: no secrets in java.library.path: /Users/me/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

I assume this is because the native libs are missing in the library path. Is there any way to easily add them?

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

No branches or pull requests

1 participant