Open hackdrug opened 6 years ago
I received this issue as well on a flavour of Debian. Steps to fix the issue are: 1) Install Java 8 JRE - apt-get install -y openjdk-8-jre 2) Modify run.sh to use the updated version of Java. For example, I did the following:
Lines: 91-98
Before:
# Setup the JVM
if [ "x$JAVA" = "x" ]; then
if [ "x$JAVA_HOME" != "x" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="java"
fi
fi
After:
# Setup the JVM
if [ "x$JAVA" = "x" ]; then
if [ "x$JAVA_HOME" != "x" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="/usr/lib/jvm/java-8-openjdk-amd64/bin/java"
fi
fi
-after execute:
SS7/ss7/restcomm-ss7-simulator/bin/run.sh (i renamed the file to SS7)
-then come the error:
SS7 Simulator Bootstrap Environment
SIMULATOR_HOME: /root/SS7/ss7/restcomm-ss7-simulator
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx2048m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /root/SS7/ss7/restcomm-ss7-simulator/bin/run.jar
=========================================================================
-Djava.ext.dirs=/root/SS7/ss7/restcomm-ss7-simulator/lib is not supported. Use -classpath instead. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
i am new to java so i don't get the point. any tutorial or how to fix this ? already install latest java. running kali linux OS