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 251570

Summary: Unable to add JDK9 as Java platform
Product: java Reporter: _ gtzabari <gtzabari>
Component: PlatformAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal CC: gustav.trede, kjjaeger, mmirilovic
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: TASK Exception Reporter:

Description _ gtzabari 2015-04-01 17:07:15 UTC
Product Version: NetBeans IDE Dev (Build 201503300001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\dev\Netbeans\user\dev
Cache directory: C:\dev\Netbeans\cache\dev

1. Install JDK9 EA b55
2. Tools -> Java Platforms -> Add Platform -> Java Standard Edition -> [JDK9 Installation path]
3. Platform Sources gets set to: C:\Program Files\Java\jdk1.9.0\src.zip!/
4. Platform Javadoc remains empty
5. Click "Finish"
6. Note that the Classes and Javadoc tabs are empty and the Sources tab contains src.zip

Expected behavior: Classes and Javadoc should be populated
Comment 1 pariti 2015-04-02 04:06:11 UTC
I could observe similar behavior with NetBeans 8.0.2 and JDK 9 ea b55.
Comment 2 Tomas Zezula 2015-04-02 18:09:50 UTC
It's part of the JDK 9 support which is currently scheduled for NB 9.
You can use jdk9 branch on the jet-main repository which supports JDK 9.
Comment 3 Tomas Zezula 2015-05-29 12:02:41 UTC
*** Bug 252322 has been marked as a duplicate of this bug. ***