नहीं बनाया जा सका, मैंने अपने प्रश्न से संबंधित सभी मौजूदा प्रश्नों का दौरा किया है लेकिन मुझे अभी भी एक समस्या है। सभी प्रतिष्ठान सही ढंग से स्थापित हैं। मैं नवीनतम नेटबीन संस्करण का उपयोग कर रहा हूं। कार्यक्रम को क्रियान्वित करने के बाद मैं इस त्रुटि है:त्रुटि: जावा वर्चुअल मशीन
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.
और मेरे Netbeans.conf है:
# ${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.
मुझे क्या करना है? मैं पूरे दिन इस त्रुटि को हल करने की कोशिश कर रहा हूं। मेरा सिस्टम मेमोरी 3 जीबी है।
क्या आपने हाल ही में जावा 6 से जावा 7 में स्विच किया है? – rwitzel
मुझे एक ही समस्या मिली @rwoo हाँ, मैंने जावा 6 से जावा 7 – MaheshVarma
@ahmed से स्विच किया है, अगर यह आपके लिए काम करता है तो कृपया कोई जवाब स्वीकार करें – prashu132