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 242277

Summary: NetBeans 8 does not work with JDK 9
Product: platform Reporter: Alexandr Scherbatiy <sunflower>
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: RESOLVED WONTFIX    
Severity: normal CC: lfischmeistr, sunflower
Priority: P3 Keywords: JDK_SPECIFIC
Version: 8.0   
Hardware: PC   
OS: Unix   
Issue Type: DEFECT Exception Reporter:

Description Alexandr Scherbatiy 2014-02-24 13:12:03 UTC
I run the NetBeans 8 beta with the JDK 9 on Mac OS X.

The NetBeans does not start with the error:
--------------------
alex$ Unrecognized VM option 'MaxPermSize=384m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
--------------------

JDK:
java version "1.9.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-ea-fastdebug-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b62-fastdebug, mixed mode)


NetBeans: netbeans-8.0beta-201401141042-javase.zip
Comment 1 Libor Fischmeistr 2014-02-26 09:37:05 UTC
I can confirm this behaviour on Mac and Linux. On Windows it works properly.
Comment 2 Libor Fischmeistr 2014-02-26 10:13:15 UTC
Reassigning to JDK problems. JDK should behave on all platforms identically.
Comment 3 Alexandr Scherbatiy 2014-03-03 11:17:06 UTC
What is the JDK issue number?
Comment 4 Antonin Nebuzelsky 2014-03-31 14:22:42 UTC
https://bugs.openjdk.java.net/browse/JDK-8038827
Comment 5 Antonin Nebuzelsky 2014-04-04 14:13:29 UTC
See also issue 243569 for NB launcher to start handling the JDK9 case.