For Java 8 it is enough to provide the path to the /usr/lib/jvm/openjdk-8/src.zip with the source files of the JDK with the Java Platform Manager/Sources. The I can click on a class like java.lang.String the source file for it is opened almost immediately.
For Java 11 providing the /usr/lib/jvm/openjdk-11/src.zip does not bring the source. There is no error message in the IDE log (View > IDE Log).
Unpacking the src.zip and then including each folder herein, from java.base to java.xml.crypto works - but it took minutes on my machine at high CPU load (Intel(R) Pentium(R) CPU B940 @ 2.00GHz, SSD drive).
Then I merged all sub-directories from the direcories java.base to java.xml.crypto together. The resulting structure is
(such as the structure before Java 9). Now I can open the Java sources for Java 11 as fast as before.
- Could you please adapt the program such that I can provide a src.zip for the JDK and it opens the sources from where?
- Could you please write an error in the IDE log when the source file was not found (including the absolute path of that file)?