Failed to build jitsi videobridge from source code

java version:

openjdk version "1.8.0_222"

maven version:

Apache Maven 3.6.3 

Step by step

git clone https://github.com/jitsi/jitsi-videobridge.git 
mvn install 
unzip target/jitsi-videobridge-linux-x64-1120.zip

Follow the steps of manual installation

./jvb.sh --host=localhost --domain=jitsi.example.com --port=5347 --secret=YOURSECRET1 &

Something went wrong:

Exception in thread "main" java.lang.NullPointerException
        at org.jitsi.videobridge.Main.main(Main.java:78)

Is this document out of date, so where is the latest document? What steps should I follow:

According to the READ.MD implement:

JVB_HOME="The path to your JVB clone."

mvn compile exec:exec -Dexec.executable=java -Dexec.args="-cp %classpath org.jitsi.videobridge.Main -Djava.library.path=$JVB_HOME/lib/native/linux-64 -Djava.util.logging.config.file=$JVB_HOME/lib/logging.properties -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-videobridge "

Something went wrong

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/jitsi/meet/OSGiBundleConfig

Can anyone help me?

2 Likes