Reputation: 642
I installed Java SE 14 and Eclipse IDE. Now I want to access the Java official documentation from the Eclipse IDE itself. How do I achieve this?
Note : I looked this question. I found out that adding src.zip
to the jre library in eclipse will work. But I didn't find src.zip
in my jdk-14.0.1 folder. May be the recent versions didn't include src.zip
.
Other details :
Upvotes: 0
Views: 578
Reputation: 642
I am not sure why I cannot find src.zip
in the jdk installation directory. So I reinstalled it. When I reinstalled the jdk 14 I found the src.zip
in that directory. Here is the path of that folder : C:\Program Files\Java\jdk-14.0.1\lib\src
.
And it is not even required for me to attach this source to the eclipse. Eclipse automatically detected the source and attached it.
Upvotes: 0
Reputation: 195
Open your eclipse IDE and go to
windows option -> show view -> javadoc
after choosing that you can view a Javadoc tab in the below panel. Like this
Initially, it will be blank. when you choose a library function you can view the official Javadoc details in this panel. You need not download or configure any source file for this.
Upvotes: 1