patrickfav/bcrypt

Java 11 broken jar file

Offen

#30 geöffnet am 02.02.2020

 (9 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Java (50 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (559 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Whenever I use this library in Java 11 to build a jar with Intellij, it says my main class is not found:

When the main class clearly does exist, with the correct packaging:

When using JBCrypt 0.4 instead of this bcrypt library, my jar file works fine, but JBCrypt doesn't support the newer $2y BCrypt version, only $2a.

I worked around this issue by finding a newer JBCrypt fork with $2y support, and I built a jar of it and the jar worked perfectly: https://github.com/Oscil8/jBCrypt/tree/djm-2y-etc an

Contributor Guide