How to setup Jjitsi-videobridge from source code

Hi All,

I want to setup jitsi-videobridge from source code and can anyone help on steps to perform?

Regards,
Manoj.

As per the jitsi-videobridge READE.md file, you can clone the Git repo and run the JVB from the source using maven.

JVB_HOME="The path to your JVB clone."

mvn compile exec:exec -Dexec.executable=java -Dexec.args="-cp %classpath org.jitsi.videobridge.MainKt -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 "

Ref: GitHub - jitsi/jitsi-videobridge: Jitsi Videobridge is a WebRTC compatible video router or SFU that lets build highly scalable video conferencing infrastructure (i.e., up to hundreds of conferences per server).

Im getting below error when executing above command.
Any idea why or how to resolve this?


Error: Could not find or load main class org.jitsi.videobridge.MainKt

Caused by: java.lang.ClassNotFoundException: org.jitsi.videobridge.MainKt

[**ERROR**] Command execution failed.

**org.apache.commons.exec.ExecuteException**: **Process exited with an error: 1 (Exit value: 1)**