Error when run graylog.jar

Hello, it’s my first post and my english is not god, so forgive me!
My problem is when i try run the graylog.jar.
When a try i’ve this error:

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(
	at java.lang.Class.privateGetMethodRecursive(
	at java.lang.Class.getMethod0(
	at java.lang.Class.getMethod(
	at sun.launcher.LauncherHelper.validateMainClass(
	at sun.launcher.LauncherHelper.checkAndLoadMain(
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 7 more

Someone can help me?!

Plese post more information: graylog version, operating system, installation steps, in which situation error occured and so on…

Version: 3.3.2
OS: Manjaro
For installation i’m only clone the project end build.

Plese post your java version:

java -version  
javac -version  

java -version

openjdk version "1.8.0_265"
OpenJDK Runtime Environment Corretto- (build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM Corretto- (build 25.265-b01, mixed mode)

javac -version

javac 1.8.0_265

And do you have problem with compilation, or compilation worked fine, but graylog did not start. Which method do you use to start graylog? Systemd service?

You can still use precompiled graylog package from AUR:

My compilation worked fine, my problem occurs when i run the graylog.jar
I’ll try this precompiled

This project don’t solve my problem
I think this problem is with the dependency bouncycastle, but i’ve try with many versions, and anyone works

Problem solved, i’ve been used the wrong graylog.jar

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.