

This article shows you how to attach the JDK source code in Eclipse IDE. How to attach the JDK source code in Eclipse? You may interest at this article – where to download JDK source code. In Eclipse, select Windows -> Preferences -> Java -> Installed JREs, expands rt.jar, select “Source attachment” and find the src.zip from your disk drive.

Where do I find the source code for Eclipse? And then in location path put in the location for your source jar file. How do I use user library in Eclipse? Is there an easy way to attach source in Eclipse?Īnother option is to right click on your jar file which would be under (Your Project)->Referenced Libraries-> (your jar) and click on properties. There you have the option ‘Extract required libraries into generated JAR’. You can right-click on the project, click on export, type ‘jar’, choose ‘Runnable JAR File Export’. How do I export a jar file from a library in Eclipse?
