Right click on the project in which you want to put jar file. A window will open like this

Click on the AddExternal Jars there you can give the path to that jar file

Answer from Ram kiran Pachigolla on Stack Overflow
🌐
Eclipse
archive.eclipse.org › eclipse › downloads › documentation › 2.0 › html › plugins › org.eclipse.jdt.doc.user › tasks › tasks-114.htm
Adding a classpath variable to the build path
Select the project to which you want to add the classpath variable ... In the Properties page, select the Java Build Path page. On the Libraries tab, click Add Variable for adding a variable that refers to a JAR file. The New Variable Classpath Entry dialog appears which shows all available ...
Discussions

How do I add jar files to classpath? Specifically, I am using Eclipse and I want to add Quartz scheduler jar files
Might depend on your system, but you should be able to do the following In Eclipse: Right click your project, select Build Path > Configure Build Path... Tab over to Libraries Add external JARs... > Find the JAR you're looking for Should be good to go. You might require a refresh or something similar More on reddit.com
🌐 r/java
10
3
February 3, 2014
java - Changing classpath in Eclipse - Stack Overflow
I recently uninstalled jre7 and installed jre6, as it was required by my project. But now my program is showing an error with the classpath. How can I change the classpath in Eclipse? ... The archive: C:/Program Files/Java/jdk1.7.0_05/lib/tools.jar which is referenced by the classpath, does ... More on stackoverflow.com
🌐 stackoverflow.com
A .jar added to the Eclipse classpath is missing at runtime
I am trying to insert a .jar file onto the classpath in Eclipse only. (Don’t ask!) It seems to only get onto the compile classpath. It builds, but when launching with Run, or Run as JUnit it is missing and crashes. The… More on discuss.gradle.org
🌐 discuss.gradle.org
11
0
April 13, 2018
Can a java .classpath refer to a .jar file within the eclipse plugin folder independant of install location? - Stack Overflow
Plugins should generally be referenced in eclipse .classpath as Libraries not Jars. More on stackoverflow.com
🌐 stackoverflow.com
🌐
Coderanch
coderanch.com › t › 105229 › ide › set-ClassPath-eclipse
How to set ClassPath in eclipse (IDEs and Version Control forum at Coderanch)
... Setting application specific class path in Eclipse is easier and you can do that by following below steps. Right Click on Project --> Properties --> Java Build Path --> (Here You can use either "Add JARs" or "Add External JARs") depending upon the physical location of your JAR files in ...
🌐
Blogger
javarevisited.blogspot.com › 2016 › 07 › eclipse-how-to-add-external-jar-into-classpath.html
Eclipse - How to add/remove external JAR into Java Project's Classpath? Example
May 17, 2023 - It will open the file chooser to choose the JAR file from the file system and add that into CLASSPATH. Once you click Open, the JAR will be shown in your project's build path as shown below : 8) Once you add JAR, you can see them in same Library window. You can remove them by selecting and clicking Remove button. 5) Click Add JAR to add JAR from any other project in the same Eclipse workspace.
🌐
Reddit
reddit.com › r/java › how do i add jar files to classpath? specifically, i am using eclipse and i want to add quartz scheduler jar files
r/java on Reddit: How do I add jar files to classpath? Specifically, I am using Eclipse and I want to add Quartz scheduler jar files
February 3, 2014 - In Eclipse: Right click your project, select Build Path > Configure Build Path... Tab over to Libraries · Add external JARs... > Find the JAR you're looking for · Should be good to go.
🌐
TutorialsPoint
tutorialspoint.com › What-are-classpath-of-projects-in-Java-eclipse-projects
What are classpath of projects in Java eclipse projects?
February 20, 2020 - JavaObject Oriented ProgrammingProgramming · You can include Jar files to which you need to set the classpath in the eclipse project using build path · Step 1 − Right click on the project Select Build Path → Configure Build Path. Step 2 − Select libraries select Add External JARs…
Find elsewhere
🌐
Techwalla
techwalla.com › tech support › how to
How to Set the Classpath in Eclipse | Techwalla
February 9, 2017 - Click "Add External JARs..." to also include a JAR from another location on your computer if needed for your project. Click "Open" to add the path to the project. ... Add the JRE library. ... Click "Add Library..." to build a path for a library. The exact library you may need varies with your project. For example, to add the Java runtime environment, choose "JRE System Library" and click "Next." ... Click "Finish" to complete setting up the path for the JRE system library. Your classpath is now complete and you can return to your workbench.
🌐
Baeldung
baeldung.com › home › java › core java › understanding java’s classpath vs. build path
Understanding Java’s Classpath vs. Build Path | Baeldung
August 28, 2024 - java -classpath /path/to/classes:/path/to/lib.jar MyProgram · Most IDEs have built-in support for setting the classpath. Let’s check the steps for doing so in two popular IDEs — Eclipse and IntelliJ IDEA.
🌐
Eclipse
archive.eclipse.org › eclipse › downloads › documentation › 2.0 › html › plugins › org.eclipse.jdt.doc.user › reference › ref-123.htm
Java Build Path page
JAR files can also be added indirectly as class path variables. By default, the library list contains an entry representing the Java runtime library. Typically this is a variable entry called JRE_LIB. This entry points to the JRE selected as the default JRE. The default JRE is configured in ...
🌐
Eclipse
help.eclipse.org › latest › topic › org.eclipse.jdt.doc.user › concepts › concept-classpath-variables.htm
Classpath Variables
By using a classpath variable, you can specify a JAR file or folder using only a variable name, such as JRE_LIB, rather than specifying the location on your workstation. In this way, you can share build paths across teams and define the variables to refer to the correct location for your particular ...
🌐
Eclipse
help.eclipse.org › latest › topic › org.eclipse.platform.doc.user › tasks › tasks-ant-classpath.htm
Modifying the Ant Classpath
If you are not on it already, click the Classpath tab. To add a JAR file to the classpath, click Add Jar and select the JAR file.
🌐
Eclipse
help.eclipse.org › latest › topic › org.eclipse.jdt.doc.isv › guide › jdt_api_classpath.htm
Setting the Java build path
A classpath is simply an array of classpath entries (IClasspathEntry) that describe the types that are available. The types can appear in source or binary form and the ordering of the entries on the path defines the lookup order for resolving types during a build.
🌐
Baeldung
baeldung.com › home › java › jvm › ways to add jars to classpath in java
Ways to Add JARs to Classpath in Java | Baeldung
August 19, 2025 - We can easily add JAR files to our project’s classpath using popular IDEs like Eclipse or IntelliJ.
🌐
Wikihow
wikihow.com › computers and electronics › software › programming › java › how to add jars to project build paths in eclipse (java)
How to Add JARs to Project Build Paths in Eclipse (Java)
August 10, 2022 - This closes the build path setup dialog. If you share the project with someone else, they must also define the variable. They can define it under Window->Preferences->Java->Build Path->Classpath Variables.
🌐
Gradle
discuss.gradle.org › help/discuss › buildship
A .jar added to the Eclipse classpath is missing at runtime - Buildship - Gradle Forums
April 13, 2018 - I am trying to insert a .jar file onto the classpath in Eclipse only. (Don’t ask!) It seems to only get onto the compile classpath. It builds, but when launching with Run, or Run as JUnit it is missing and crashes. The relevant bits are: subprojects { configurations { parserSubstitution } dependencies { parserSubstitution module("com.example:parser:1.0.0-SNAPSHOT") } apply plugin: 'eclipse' eclipse { classpath { plusConfigurations ...
🌐
AGI
help.agi.com › STKParallelComputingServerAPIJava › html › 34560dc1-826d-44e7-8d0e-2ea144599e84.htm
Develop in Eclipse - Agi
Take note of the location of the JAR file that you specified. The last step is to make sure that the Run configuration is configured to run the created jar file. Go to Run > Run Configurations > Java Application. In the "Classpath" tab, click on "Add External Jars" and select the created jar above.