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).
https://jitsi.org/jitsi-videobridge
Apache License 2.0
2.91k stars 992 forks source link

Failing to execute the project after cloning it #1730

Open PrideFafy opened 3 years ago

PrideFafy commented 3 years ago

Getting the below error when I try to execute it:

Unrecognized option: -cp /home/faisal/IdeaProjects/jitsi-videobridge/jvb/target/classes:/home/faisal/.m2/repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar:/home/faisal/.m2/repository/com/google/guava/guava/30.1.1-jre/guava-30.1.1-jre.jar:/home/faisal/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/home/faisal/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/home/faisal/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/home/faisal/.m2/repository/org/checkerframework/checker-qual/3.8.0/checker-qual-3.8.0.jar:/home/faisal/.m2/repository/com/google/errorprone/error_prone_annotations/2.5.1/error_prone_annotations-2.5.1.jar:/home/faisal/.m2/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-rewrite/9.4.40.v20210413/jetty-rewrite-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-server/9.4.40.v20210413/jetty-server-9.4.40.v20210413.jar:/home/faisal/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-servlets/9.4.40.v20210413/jetty-servlets-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-continuation/9.4.40.v20210413/jetty-continuation-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-http/9.4.40.v20210413/jetty-http-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-util/9.4.40.v20210413/jetty-util-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-io/9.4.40.v20210413/jetty-io-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/websocket/websocket-server/9.4.40.v20210413/websocket-server-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/websocket/websocket-common/9.4.40.v20210413/websocket-common-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/websocket/websocket-api/9.4.40.v20210413/websocket-api-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/websocket/websocket-client/9.4.40.v20210413/websocket-client-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-client/9.4.40.v20210413/jetty-client-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/websocket/websocket-servlet/9.4.40.v20210413/websocket-servlet-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-servlet/9.4.40.v20210413/jetty-servlet-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-security/9.4.40.v20210413/jetty-security-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-util-ajax/9.4.40.v20210413/jetty-util-ajax-9.4.40.v20210413.jar:/home/faisal/.m2/repository/org/jetbrains/annotations/15.0/annotations-15.0.jar:/home/faisal/.m2/repository/com/github/spotbugs/spotbugs-annotations/4.1.4/spotbugs-annotations-4.1.4.jar:/home/faisal/.m2/repository/org/jitsi/jitsi-media-transform/1.0-257-gc80afce/jitsi-media-transform-1.0-257-gc80afce.jar:/home/faisal/.m2/repository/org/jitsi/jitsi-srtp/1.1-3-g4637686/jitsi-srtp-1.1-3-g4637686.jar:/home/faisal/.m2/repository/org/bouncycastle/bctls-jdk15on/1.68/bctls-jdk15on-1.68.jar:/home/faisal/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar:/home/faisal/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar:/home/faisal/.m2/repository/org/pcap4j/pcap4j-core/1.8.2/pcap4j-core-1.8.2.jar:/home/faisal/.m2/repository/org/pcap4j/pcap4j-packetfactory-static/1.8.2/pcap4j-packetfactory-static-1.8.2.jar:/home/faisal/.m2/repository/org/jitsi/rtp/1.0-64-g6932ded/rtp-1.0-64-g6932ded.jar:/home/faisal/.m2/repository/org/jitsi/sctp/1.0-8-g04269a7/sctp-1.0-8-g04269a7.jar:/home/faisal/.m2/repository/org/jitsi/jnilib/1.0-8-g04269a7/jnilib-1.0-8-g04269a7.jar:/home/faisal/.m2/repository/org/jitsi/jniwrapper-java/1.0-8-g04269a7/jniwrapper-java-1.0-8-g04269a7.jar:/home/faisal/.m2/repository/org/jitsi/jniwrapper-native/1.0-8-g04269a7/jniwrapper-native-1.0-8-g04269a7.jar:/home/faisal/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/home/faisal/.m2/repository/org/jitsi/ice4j/3.0-35-gadca67b/ice4j-3.0-35-gadca67b.jar:/home/faisal/.m2/repository/org/opentelecoms/sdp/java-sdp-nist-bridge/1.2/java-sdp-nist-bridge-1.2.jar:/home/faisal/.m2/repository/org/opentelecoms/sdp/sdp-api/1.0/sdp-api-1.0.jar:/home/faisal/.m2/repository/org/jitsi/jain-sip-ri-ossonly/1.2.279-jitsi-oss1/jain-sip-ri-ossonly-1.2.279-jitsi-oss1.jar:/home/faisal/.m2/repository/org/bitlet/weupnp/0.1.4/weupnp-0.1.4.jar:/home/faisal/.m2/repository/org/jitsi/jicoco/1.1-95-gd8fd866/jicoco-1.1-95-gd8fd866.jar:/home/faisal/.m2/repository/org/eclipse/jetty/jetty-proxy/9.4.41.v20210516/jetty-proxy-9.4.41.v20210516.jar:/home/faisal/.m2/repository/org/xeustechnologies/jcl-core/2.8/jcl-core-2.8.jar:/home/faisal/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/home/faisal/.m2/repository/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar:/home/faisal/.m2/repository/org/kamranzafar/commons/object-cloner/0.1/object-cloner-0.1.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-core/4.4.3/smack-core-4.4.3.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-xmlparser/4.4.3/smack-xmlparser-4.4.3.jar:/home/faisal/.m2/repository/org/jxmpp/jxmpp-core/1.0.1/jxmpp-core-1.0.1.jar:/home/faisal/.m2/repository/org/jxmpp/jxmpp-util-cache/1.0.1/jxmpp-util-cache-1.0.1.jar:/home/faisal/.m2/repository/org/jxmpp/jxmpp-jid/1.0.1/jxmpp-jid-1.0.1.jar:/home/faisal/.m2/repository/org/minidns/minidns-core/1.0.0/minidns-core-1.0.0.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-extensions/4.4.3/smack-extensions-4.4.3.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-im/4.4.3/smack-im-4.4.3.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-tcp/4.4.3/smack-tcp-4.4.3.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-streammanagement/4.4.3/smack-streammanagement-4.4.3.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-xmlparser-stax/4.4.3/smack-xmlparser-stax-4.4.3.jar:/home/faisal/.m2/repository/org/javassist/javassist/3.22.0-CR2/javassist-3.22.0-CR2.jar:/home/faisal/.m2/repository/org/jitsi/jitsi-android-osgi/1.0-SNAPSHOT/jitsi-android-osgi-1.0-SNAPSHOT.jar:/home/faisal/.m2/repository/org/osgi/org.osgi.core/4.3.1/org.osgi.core-4.3.1.jar:/home/faisal/.m2/repository/org/jitsi/jicoco-config/1.1-95-gd8fd866/jicoco-config-1.1-95-gd8fd866.jar:/home/faisal/.m2/repository/com/typesafe/config/1.4.1/config-1.4.1.jar:/home/faisal/.m2/repository/org/jitsi/jitsi-stats/1.0-7-g2a9b765/jitsi-stats-1.0-7-g2a9b765.jar:/home/faisal/.m2/repository/io/callstats/callstats-java-sdk/5.2.1/callstats-java-sdk-5.2.1.jar:/home/faisal/.m2/repository/org/apache/logging/log4j/log4j-api/2.3/log4j-api-2.3.jar:/home/faisal/.m2/repository/org/apache/logging/log4j/log4j-core/2.13.2/log4j-core-2.13.2.jar:/home/faisal/.m2/repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar:/home/faisal/.m2/repository/org/bitbucket/b_c/jose4j/0.5.5/jose4j-0.5.5.jar:/home/faisal/.m2/repository/com/squareup/okhttp3/okhttp/3.9.1/okhttp-3.9.1.jar:/home/faisal/.m2/repository/com/squareup/okio/okio/1.13.0/okio-1.13.0.jar:/home/faisal/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/home/faisal/.m2/repository/org/jitsi/jitsi-xmpp-extensions/1.0-26-g67e8beb/jitsi-xmpp-extensions-1.0-26-g67e8beb.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-java8/4.4.3/smack-java8-4.4.3.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-resolver-javax/4.4.3/smack-resolver-javax-4.4.3.jar:/home/faisal/.m2/repository/org/igniterealtime/smack/smack-sasl-javax/4.4.3/smack-sasl-javax-4.4.3.jar:/home/faisal/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar:/home/faisal/.m2/repository/org/jitsi/jitsi-utils/1.0-97-g67c980b/jitsi-utils-1.0-97-g67c980b.jar:/home/faisal/.m2/repository/net/java/dev/jna/jna/5.5.0/jna-5.5.0.jar:/home/faisal/.m2/repository/org/jetbrains/kotlin/kotlin-osgi-bundle/1.5.20/kotlin-osgi-bundle-1.5.20.jar:/home/faisal/.m2/repository/org/jitsi/jitsi-metaconfig/315a3cec35/jitsi-metaconfig-315a3cec35.jar:/home/faisal/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.5.20/kotlin-stdlib-jdk8-1.5.20.jar:/home/faisal/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.5.20/kotlin-stdlib-1.5.20.jar:/home/faisal/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.5.20/kotlin-stdlib-common-1.5.20.jar:/home/faisal/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-jdk7/1.5.20/kotlin-stdlib-jdk7-1.5.20.jar:/home/faisal/.m2/repository/org/glassfish/jersey/containers/jersey-container-jetty-http/2.34/jersey-container-jetty-http-2.34.jar:/home/faisal/.m2/repository/org/glassfish/hk2/external/jakarta.inject/2.6.1/jakarta.inject-2.6.1.jar:/home/faisal/.m2/repository/org/glassfish/jersey/core/jersey-common/2.34/jersey-common-2.34.jar:/home/faisal/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/home/faisal/.m2/repository/org/glassfish/hk2/osgi-resource-locator/1.0.3/osgi-resource-locator-1.0.3.jar:/home/faisal/.m2/repository/org/glassfish/jersey/core/jersey-server/2.34/jersey-server-2.34.jar:/home/faisal/.m2/repository/org/glassfish/jersey/core/jersey-client/2.34/jersey-client-2.34.jar:/home/faisal/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/home/faisal/.m2/repository/jakarta/ws/rs/jakarta.ws.rs-api/2.1.6/jakarta.ws.rs-api-2.1.6.jar:/home/faisal/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.34/jersey-container-servlet-2.34.jar:/home/faisal/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.34/jersey-container-servlet-core-2.34.jar:/home/faisal/.m2/repository/org/glassfish/jersey/inject/jersey-hk2/2.34/jersey-hk2-2.34.jar:/home/faisal/.m2/repository/org/glassfish/hk2/hk2-locator/2.6.1/hk2-locator-2.6.1.jar:/home/faisal/.m2/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.6.1/aopalliance-repackaged-2.6.1.jar:/home/faisal/.m2/repository/org/glassfish/hk2/hk2-api/2.6.1/hk2-api-2.6.1.jar:/home/faisal/.m2/repository/org/glassfish/hk2/hk2-utils/2.6.1/hk2-utils-2.6.1.jar:/home/faisal/.m2/repository/org/glassfish/jersey/media/jersey-media-json-jackson/2.34/jersey-media-json-jackson-2.34.jar:/home/faisal/.m2/repository/org/glassfish/jersey/ext/jersey-entity-filtering/2.34/jersey-entity-filtering-2.34.jar:/home/faisal/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.12.2/jackson-annotations-2.12.2.jar:/home/faisal/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.2/jackson-databind-2.12.2.jar:/home/faisal/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.12.2/jackson-core-2.12.2.jar:/home/faisal/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.2/jackson-module-jaxb-annotations-2.12.2.jar:/home/faisal/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar:/home/faisal/.m2/repository/com/fasterxml/jackson/module/jackson-module-kotlin/2.12.4/jackson-module-kotlin-2.12.4.jar:/home/faisal/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.5.20/kotlin-reflect-1.5.20.jar:/home/faisal/.m2/repository/org/reflections/reflections/0.9.11/reflections-0.9.11.jar:/home/faisal/.m2/repository/rusv/agafua-syslog/0.4/agafua-syslog-0.4.jar:/home/faisal/.m2/repository/io/sentry/sentry/4.3.0/sentry-4.3.0.jar:/home/faisal/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar:/home/faisal/.m2/repository/org/glassfish/jersey/test-framework/jersey-test-framework-core/2.34/jersey-test-framework-core-2.34.jar:/home/faisal/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/home/faisal/.m2/repository/jakarta/servlet/jakarta.servlet-api/4.0.3/jakarta.servlet-api-4.0.3.jar:/home/faisal/.m2/repository/org/glassfish/jersey/media/jersey-media-jaxb/2.34/jersey-media-jaxb-2.34.jar 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 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)

bgrozev commented 3 years ago

How do you try to execute?

PrideFafy commented 3 years ago

How do you try to execute?

I managed to set it up with help from the community. Now I want to connect the video bridge with my java backend. What are the steps for that. I have configured the rest api and can successfully connect but after I create a conference whats next?