This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250540

Summary: PermSize option used by default config prevents running on JDK 8/9
Product: installer Reporter: vaxquis
Component: CodeAssignee: Libor Fischmeistr <lfischmeistr>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description vaxquis 2015-02-19 14:17:07 UTC
Installing NetBeans 8.0.1/8.0.2 on MacOS X 10.10 with JDK 8/9 installed results in having an immediate crash during app run startup due to:

Unrecognized VM option 'PermSize=32m'
Error: Could not create the Java Virtual Machine.

PermGen is obviously unsupported on Java 8/9, and the PermSize switch has been removed from them (see e.g. http://stackoverflow.com/questions/18339707/permgen-elimination-in-jdk-8 for more information), resulting in JVM startup error.

Removing the offending switch from netbeans.conf JVM switches makes the application running perfectly.
Comment 1 vaxquis 2015-02-19 14:33:29 UTC
BTW, by "netbeans.conf JVM switches" I obviously mean "netbeans_default_options" entry in conf.
Comment 2 Libor Fischmeistr 2015-03-10 07:38:45 UTC

*** This bug has been marked as a duplicate of bug 243569 ***