Issue
I am having problems adding the new JDK 9 Platform to Netbeans. Here are the steps I followed:
- I downloaded Java 9 from here: http://jdk.java.net/9/ and ran the installations.
- In Netbeans I went to Tools, then Java Platforms
- Clicked on Add Platform
- Selected Java Standard Edition
- When asked to choose the platform folder selected "C:\Program Files\Java\jdk-9"
- As Platform Source I selected "C:\Program Files\Java\jdk-9\lib\src.zip"
- And for Platform Javadoc I filled in "http://download.java.net/java/jdk9/docs.api"
Now I see that if I click on the new JDK 9 platform Sources and Javadoc seem correct, but classes are empty. When I set a project to use the new JDK9 platform I get a lot of exceptions along the lines of "Cannot find package java.lang".
Who can help? Thank you
Solution
Issue has been solved. The solution was to install Netbeans Daily Development Build instead of the Netbeans 8.2 that I use.
Answered By - Lavandysh