My Netbeans works perfectly until today. But today morning when try to open net beans it gives the JVM creation failed message.
Asked
Active
Viewed 1.1k times
4
-
Try to add the complete failed message in the question! – LGAP Feb 15 '13 at 09:23
-
1It is the Full message. – Chinthaka Manathunga Feb 16 '13 at 04:09
-
in my case i was playing with the `jvm.dll in java\jre7\bin\client` i replaced it so oracle jinitiator for oracle forms will work according to some blog it worked but netbeans broke then – shareef Oct 01 '15 at 07:58
1 Answers
9
Open netbeans.conf file under C:\Program Files\NetBeans\etc
Find this row:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true"
- And replace with this: added XX:MaxPermSize=128m
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=128m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true"
- Restart NetBeans.

shareef
- 9,255
- 13
- 58
- 89

Rahul Dadhich
- 1,213
- 19
- 32
-
Thanks it works but can you explain problem behind this fail and how this problem solve by replacing this netbeans_default_options ? – Vikas Verma Oct 08 '14 at 17:31
-
You can find info about XX:MaxPermSize http://stackoverflow.com/questions/12114174/what-does-xxmaxpermsize-do – Mindaugas Feb 03 '17 at 07:17