Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4006896
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:34:08+00:00 2026-05-20T08:34:08+00:00

I have one folder named library where I have put all my JAR files.

  • 0

I have one folder named library where I have put all my JAR files.
Now every time I create a new project, I have to copy all my JAR files in the lib folder to the WEB-INF folder.

Is there any way that I can add a folder permanently to all projects in Eclipse so that I don’t need to put all the JAR files again and again in new projects?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:34:09+00:00Added an answer on May 20, 2026 at 8:34 am

    There are several ways of doing or approaching this.

    1. Use a java endorsed library (if the jars correspond to an endorsable standard) (can be done outside eclipse). Be aware that this affects the Bootstrap Class loader (and so will the creation of an eclipse user system library).

    2. Use a jars manually to your JRE library (inside eclipse). Window => Preferences = Java => Installed JRE, select one => add… => Add external jar. This will add the selected jar even to existing projects referring to this JRE. If you work with multiple JREs, you can have one “tweaked one” and a “standard one” for each Java version.

    3. Define a user library (Window => Preferences => Java => Build Path => User libraries) This is commonly used to group jars. Still you will need to manually add the library to each project. Benefit: the jar are grouped (eg jdbc drivers, SWT version, etc…).

    4. Define a library project (containing only jars and libraries) and manually add the library project to all projects in which you need these references.

    Only the first 2 solutions are fully automated. Yet if you want to be able to opt out on a per-project basis, I’d recommend solution 3 (preferably) or 4. With solution 2, you can still opt out by using a standard JRE for untainted projects.

    Now answering a question with another question. What is your use case when you need to add one or more jars to all projects ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a folder with about 1,700 files. They are all named like 1.txt
I have just added all the Drupal files to a folder named /_dp70/ but
I have all the forms in one folder and all the code modules in
I have to copy quite a lot of files from one folder to another.
I have a folder named public with an controller. There I but all the
I have a base URL : http://my.server.com/folder/directory/sample And a relative one : ../../other/path How
I have one field that I need to sum lets say named items However
I have one hibernate sequence, that generates all sequence-numbers in my app. When I
I have one application which uses the standard .NET forms authentication cookie, now I
i am using SPWeb.ProcessBatchData() method to batch create folders inside one document library. everything

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.