Netbeans Version: Apache NetBeans 9.0
Java version: Java 10
No matter what I do, I can't get the javadocs to appear and display method details on anything.
I've gone into the Java Platforms and into the Javadocs, I've set the Zip, unzipped and URL for the javadocs, but it just wont work...
Java Doc: jdk-10.0.1_doc-all
URL: https://docs.oracle.com/javase/10/docs/api
I couldn't find any answers anywhere, they all mentioned adding the docs like I already tried.
Edit Reply: Even with adding the 'java.base/' it still doesn't work. I even completely deleted netbeans and all appdata. Re-downloaded it, installed JDK11, and tried the docs again...but the SAME thing. Am I going insane??
You can link to the JDK help documentation in NetBeans using a URL or the file location of the zipped documentation. Both approaches work for me for Java 10 using Apache NetBeans 9.0 RC1:
Obviously you only need one of those entries. Both are shown in the screen shot above purely for addressing your question, and both can be set during the addition of the JDK 10 platform, or at a later time.
For using the file location for JDK Javadocs:
For using the URL for JDK Javadocs:
If you still have problems:
My personal preference is to use a local zip file rather than a URL since it is faster and you do not need internet access. Here's a screen shot showing the Javadoc for Optional.orElseThrow() which was new in JDK10:
Updated on 11/8/2018 to address the use of OpenJDK 10 with NB 9.0:
I added OpenJDK 10 as a Java platform, but did not specify any Javadoc.
I updated the project to use OpenJDK 10 instead of JDK 1.8 (Default). Help for Java 10 methods worked fine without specifying any Javadoc location!