gpt4 book ai didi

java - 错误:could not create java virtual machine

转载 作者:行者123 更新时间:2023-12-02 11:11:54 25 4
gpt4 key购买 nike

Eclipse 版本:eclipse-jee-oxygen-3a-win32-x86_64java:jdk1.7.0_79系统信息:

enter image description here

Eclipse 错误:

enter image description here

eclipse配置设置文件:

-startup plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834 -product org.eclipse.epp.package.jee.product -showsplash org.eclipse.epp.package.common --launcher.defaultAction openFile --launcher.defaultAction openFile-vm C:\Program Files\Java\jdk1.7.0_79\bin\javaw.exe --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.7 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.7-Xms256m -Xmx512m --add-modules=ALL-SYSTEM

最佳答案

<强> Eclipse Oxygen requires at least Java 8 to run 即使 osgi.requiredJavaVersion 设置为 1.7

eclipse.ini 中,参数 -vm 必须直接在 -vmargs 之前使用。有关详细信息,请参阅 Eclipse Wiki:Eclipse.ini - Specifying the JVM .

关于java - 错误:could not create java virtual machine,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50560014/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com