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 - PermSize option used by default config prevents running on JDK 8/9
Summary: PermSize option used by default config prevents running on JDK 8/9
Status: RESOLVED DUPLICATE of bug 243569
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-19 14:17 UTC by vaxquis
Modified: 2015-03-10 07:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***