It is assumed that you have already created your project.
- Go to the Java Perspective with Window → Open Perspective → Java
- Go to the Package Explorer, select your project then navigate to Project → Properties
- Select Java Build Path → Libraries → Add External JARs… You will be able to select your JAR file now.