Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not create the Java Virtual Machine. #317

Open
greencorsairs opened this issue Apr 20, 2020 · 1 comment
Open

Error: Could not create the Java Virtual Machine. #317

greencorsairs opened this issue Apr 20, 2020 · 1 comment

Comments

@greencorsairs
Copy link

green@green-VirtualBox:~/Desktop/restcomm-jss7-${jSS7.release.version}/ss7/restcomm-ss7-simulator/bin$ sudo ./run.sh attack_simulator help

SS7 Simulator Bootstrap Environment
SIMULATOR_HOME: /home/green/Desktop/restcomm-jss7-${jSS7.release.version}/ss7/restcomm-ss7-simulator
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh -Djava.net.preferIPv4Stack=true -Xms256m -Xmx2048m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /home/green/Desktop/restcomm-jss7-${jSS7.release.version}/ss7/restcomm-ss7-simulator/bin/run.jar

-Djava.ext.dirs=/home/green/Desktop/restcomm-jss7-${jSS7.release.version}/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.

@caiocf
Copy link

caiocf commented Jun 23, 2020

The classpath "-Djava.ext.dirs" is wrong!
Rename o path your installation and remove character spacial and check is correct.

For example:
From:
-Djava.ext.dirs=/home/green/Desktop/restcomm-jss7-${jSS7.release.version}/ss7/restcomm-ss7-simulator/lib

To:
-Djava.ext.dirs=/home/green/Desktop/restcomm-jss7-8.0.0/ss7/restcomm-ss7-simulator/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants