英文:
Could not create the Java Virtual Machine Error
问题
我正试图在我的Linux机器上运行这条命令:
java -noverify -Xbootclasspath/p:burp-loader-keygen-2020_2.jar -jar burpsuite_pro_v2020.2.jar
但我一直在收到以下错误:
-Xbootclasspath/p 不再是一个受支持的选项。
错误:无法创建Java虚拟机。
错误:发生了致命异常。程序将退出。
我尝试重新安装了以下这些版本:
sudo apt update
sudo apt install default-jdk -y
sudo apt install default-jre -y
但我一直不断地收到相同的错误,是否有解决方案、帮助或建议?
英文:
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?
答案1
得分: 0
你正在错误的方式下运行Burp Suite JAR文件。
-
如果这是Burp Suite的旧版本,您必须使用仍支持
-Xbootclasspath
选项的Java 8。请注意,仅安装Java 8是不足够的。您需要确保java -version
显示为Java 8,或者使用java
命令的Java 8版本的完整路径。这在Burp Suite 2020.4或更新版本中不起作用。
-
相反地,如果您正在使用Burp Suite 2020.4或更新版本,则需要使用Java 9或更新版本,并且需要像这样运行:
java -jar -Xmx4g /path/to/burp.jar
来源:
英文:
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 thatjava -version
says it is Java 8, or use the full path to the Java 8 version of thejava
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:
- Burp Suite Releases: Professional / Community 2020.4
- Launching Burp Suite from the command line (as of the time of writing this answer).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论