I want to get java classes source code in netbeans . For example linkedlist How i can get source code of this class just using a software that you can use it for coding and run java codes like netbeans
Asked
Active
Viewed 87 times
-1
-
Is there a decompiler for the program you are using? – Edric Jan 21 '18 at 06:17
-
1hope this will help: https://stackoverflow.com/questions/29258944/where-is-the-src-zip-for-jdk8u40, – dkb Jan 21 '18 at 06:28
-
In NetBeans, left click on desired class and chose Navigate -> Go to source code – zlakad Jan 21 '18 at 06:29
1 Answers
2
Just give the path of JDK in build path instead of JRE, it will show you source code when open any JDK class.

jeet427
- 538
- 3
- 16
-
-
Please see [https://netbeans.org/kb/74/java/project-setup.html] Setting the Target JDK in a Project – jeet427 Jan 21 '18 at 06:30