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 8087073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:39:26+00:00 2026-06-05T18:39:26+00:00

I have a project which has some lib’s associated with it (in Build Path).

  • 0

I have a project which has some lib’s associated with it (in Build Path).

Now, when I export the project in jar, I have mulitple options e.g., eclipse creating a new manifest file (with just one line), create a runnable jar (where it will add the classpath information as well).

My question is, is there a simple way in eclipse where it will add the classpath libraries into the manifest (i dont want to create runnable jar). I know I can edit jar in various ways.
If the answer is “no, there is no direct way”, my next question is, “Why, this is a very common requirement, is not it” and eclipse does so while creating a runnable jar, then why not for non-runnable jars?

  • 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-06-05T18:39:28+00:00Added an answer on June 5, 2026 at 6:39 pm

    “Why, this is a very common requirement, is not it” and eclipse does
    so while creating a runnable jar, then why not for non-runnable jars?

    Who says it is a common requirement?
    A jar file is just a library. Could be self-contained or dependent on other jars.
    If you have a dependency for a jar you document it as dependency. You don’t distribute jars that include other jars.
    E.g. if you include an apache library in your project you also download commons-loggingseparately as a dependency.
    It is not included/bundled in the jar.
    Otherwise you’ll end up with jars the size of 30 MB ….

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

Sidebar

Related Questions

I have an ASP.NET project which has already some custom fields in it's web.config
I have to test some things on a project which has been developed by
ok i have a project which has many gridview in its pages... now i
You have a project which has got some SW requirements to run (e.g.: a
I have a project which has lots of modules, each one has different running
I have a project which has a view controller as initial screen and then
I have a project which has a set of binary dependencies (assembly dlls for
I have a project which has shared functionality between three other projects and have
I have one project which has RIAService with entity framework that is referenced to
I have a project directory which has an .acignore file containing: out/* The project

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.