Window -> Preferences -> Java / Build Path / User Libraries -> New -> enter name
Select library -> "Add External Jars", select library jar
Double click "Source attachment" to attach source -> External location -> select folder, JAR or zip
Double click "Javadoc location" to attach javadoc, validate