简体   繁体   中英

Could not create the Java Virtual Machine Error

I'm trying to run this command on my linux machine:

java -noverify -Xbootclasspath/p:burp-loader-keygen-2020_2.jar -jar burpsuite_pro_v2020.2.jar

and i keep getting these errors:

-Xbootclasspath/p is no longer a supported option.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I tried to install again these versions:

sudo apt update
sudo apt install default-jdk -y
sudo apt install default-jre -y

But i kept getting the same error over and over, any solution or help or suggestion?

You are running the Burp Suite JAR file the wrong way.

  • If this is an older version of Burp Suite, you must use Java 8 which still supports the -Xbootclasspath option. Note it is not sufficient to simply install Java 8. You need to make sure that java -version says it is Java 8, or use the full path to the Java 8 version of the java command.

    This won't work with Burp Suite 2020.4 or later.

  • Conversely, if you are using Burp Suite 2020.4 or later, then you need to use Java 9 or later, and you need to run like this:

     java -jar -Xmx4g /path/to/burp.jar

Source:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM