我已经访问了所有与我的问题相关的现有问题,但我仍然有一个问题。所有安装都正确安装。我使用的是最新的Netbeans版本。在执行程序后,我出现了以下错误:
Error: Could not create the Java Virtual Machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: A fatal exception has occurred. Program will exit.
# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir="${HOME}/.netbeans/7.1.2"
# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-client -J-Xss2m -J-Xms16m -J-XX:PermSize=16m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true"
# Note that default -Xmx and -XX:MaxPermSize are selected for you automatically.
# You can find these values in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx or
# -J-XX:MaxPermSize= here or on the command line.
# If you specify the heap size (-Xmx) explicitly, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/FaqGCPauses)
# Default location of JDK, can be overridden by using --jdkhome <dir>:
netbeans_jdkhome="C:\Arquivos de programas\Java\jdk1.7.0_07"
# Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix):
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"
# If you have some problems with detect of proxy settings, you may want to enable
# detect the proxy settings provided by JDK5 or higher.
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.
我在启动NetBeans
时遇到了同样的错误
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
我多次尝试重新启动NetBeans
。同样的错误在重复。后来,我发现这种情况正在发生,因为其他一些应用程序已经在使用JVM
。因此,我寻找这样一个应用程序,它是Tomcat Server
。我终止了Tomcat
,并再次尝试启动NetBeans
,结果很好。因此,尝试寻找任何使用JVM
的应用程序。
我今天刚刚安装了Android-studio。首先,我必须为这个IDE安装jdk7。 在那之后,只有我能够启动IDE。 现在,当我试图创建新项目时,得到的错误如下图所示。 谁能帮帮我吗。 我这边少了什么?
这个问题是由打字错误或无法再复制的问题引起的。虽然类似的问题可能在这里是主题,但这个问题的解决方式不太可能对未来的读者有所帮助。 Eclipse 版本 :eclipse-jee-oxygen-3a-win32-x86_64 java : jdk1.7.0_79 系统信息 : Eclipse错误: eclipse配置设置文件: -启动插件/org.eclipse.equinox.launcher_1
问题内容: 我在使用以下配置运行Eclipse时遇到问题: eclipse.ini 除添加上面指定的行外,以上配置均有效。可能是什么问题呢? 我从具有4GB内存的Windows 7(64位)计算机上运行eclipse,尽管我在路径中指定的JDK是32位,这很好用。唯一的问题是,如果我添加这些其他配置参数。 问题答案: eclipse.ini中有两个地方,其中包括 做了
我使用Tomcat 8.0.53和Java8来开发普通的Spring应用程序,但当我运行服务器时,实际上我会遇到这种类型的错误 操作系统:macOS RAM:8GB
我添加了这个vm到我的eclipse.ini: 我认为这个错误与我的jdk有关? 我的pom: 这是日志: [INFO]扫描项目...[INFO][INFO] -------------------------