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

Java compile issues(javafx) #92

Closed
ThomasGustafson opened this issue Dec 14, 2021 · 9 comments
Closed

Java compile issues(javafx) #92

ThomasGustafson opened this issue Dec 14, 2021 · 9 comments

Comments

@ThomasGustafson
Copy link

I am trying to use this module in a javafx project and I can not get it to import properly even after adding a pom.xml file with dependencies.
These imports will have the de red:

argon2 import issues

maven dependancy

any help would be greatly appreciated

Thank you for your time

Thomas Gustafson

@phxql
Copy link
Owner

phxql commented Dec 15, 2021

Hello!

Other dependencies are working fine? This is just an issue with argon2-jvm?

@ThomasGustafson
Copy link
Author

yes The other libraries being used are javafx, SQLite version 3.8.9.1 but the SQLite is not actively being used yet used yet.
argon 2 error
.

@phxql
Copy link
Owner

phxql commented Dec 16, 2021

Are you using Java Module System?

@ThomasGustafson
Copy link
Author

yes here is what I am looking at
modules

I got the argon2jvm from https://repo1.maven.org/maven2/de/mkammerer/argon2-jvm/2.11/

@ThomasGustafson
Copy link
Author

The good news is I figured out how to get the library in .
I downloaded version 2.11 nolibs jar but I have run into one other issue with the hash method it appears to be deprecated and I was wondering what should be used in it's place. It is also giving me a can not be referenced from static content error.

hash issue

Thank you for your time and any help

Thomas Gustafson

@phxql
Copy link
Owner

phxql commented Dec 17, 2021

Please take a look at the readme here: https://github.com/phxql/argon2-jvm#usage

It shows the correct usage of argon2-jvm.

@ThomasGustafson
Copy link
Author

This looks good aside from this method readPasswordFromUser(); it is red is there another document for what that method is supposed to do/ the code for it?

@ThomasGustafson
Copy link
Author

version 2.11 nolibs is not working due to a java con.sun.jna.NativeLong Error
Native Long Error
ModulesbeingUsed

Any ideas?

Thank you for your time and any help

Thomas Gustafson

@ThomasGustafson
Copy link
Author

I solved this problem I had to add the argon2 2.11 jvm jar and the jar for jna version 5.10.0.

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

2 participants