CS 212 Software Development

CS 212-01 • Spring 2020

COVID-19 Notice

Due to the COVID-19 outbreak, this website is being retired effective March 15, 2020. All future updates will be moved to Canvas for online instruction as advised by the university.

Adding User Libraries in Eclipse

There is a step-by-step walkthrough on how to add user libraries in Eclipse at:

http://tutoringcenter.cs.usfca.edu/resources/adding-user-libraries-in-eclipse.html

Do NOT directly add a jar file to your build path. That will only work on your system for that specific project, and will not work for imported lecture code nor will it work for your project on other systems.

It is also important that you name your user libraries the same as the instructor. Otherwise, you may run into issues when importing Eclipse Java Projects from Github. Below are the names and links to the user libraries we will be using in this semester:

Library Eclipse Name Download Notes
Apache OpenNLP opennlp-tools Link You need to add the opennlp-tools-1.9.x.jar in Eclipse. You do not need the other JAR files.
Apache Log4j 2 log4j2 Link You need to add the log4j-api-2.x.x.jar and log4j-core-2.x.x.jar JAR files in Eclipse. You do not need the other JAR files, but you can use the appropriate *-javadoc.jar files to access the Log4j2 JavaDoc within Eclipse.

Replace the x version numbers with the latest available versions.

This list will be updated over time.