Select the slf4j-api.x.x.jar file downloaded and click Apply and Close. In the Java Build Path frame in the Libraries tab, click Add External JARs… Right-click on the project, select the option Build Path → Configure Build Path… as shown below. Open eclipse and create a sample project.
Step 2: Create a project and set build path Within the downloaded folder, you will find slf4j-api-X.X.jar. Now, download the latest stable version of slf4j-X.X.tar.gz or slf4j-X.X.zip, according to your operating system (if windows. Open the official homepage of the SLF4J website and go to the download page.
If not, download and install Eclipse.įor more information on Eclipse, please refer our Eclipse Tutorial Step 1: Download the dependency JAR file Before proceeding with the installation, make sure that you already have Eclipse installed in your system. In this chapter, we will explain how to set SLF4J environment in Eclipse IDE.