Skip to content

Duplicate JavaNativeFoundation implementation #291

Answered by weisJ
hannesbraun asked this question in Q&A
Discussion options

You must be logged in to vote

You are absolutely correct in the assumption that this isn’t an issue on M1 macs. This is simply due to the fact that there JavaNativeFoundation doesn’t exist in the system library path (or anywhere else for that matter).

It’s certainly desirable to stop this warning on Intel macs though. I assume that the following is happening:

  1. The JDK loads the system version of JavaNativeFoundation
  2. Darklaf is loading its own version, hence the conflict.

Now the way which is intended is that in the second step Darklaf should actually load the system version if it finds it to avoid this exact problem. I can at least guarantee that no matter which class definitions are used they are equivalent and exce…

Replies: 3 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by hannesbraun
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
15 replies
@hannesbraun
Comment options

@weisJ
Comment options

@weisJ
Comment options

@hannesbraun
Comment options

@weisJ
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants