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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:56:26+00:00 2026-05-20T10:56:26+00:00

I developed two .jar for my application (LOG.jar and STRING.jar). I use these jar,

  • 0

I developed two .jar for my application (LOG.jar and STRING.jar).

I use these jar, with import in .java :

import LOG.CLog
import STRING.CString

It’s OK. But .jar is increasing in my project, so I would like to create only one .jar which includes all .jar developed.

So I tried this by creating the only one .jar (named TOOLS.jar) :

jar.exe cvmf MANIFEST.MF TOOLS.jar TOOLS\LOG.jar TOOLS\STRING.jar

But, if I put only TOOLS.jar file in my application compilation (Java build path in Eclipse), I get error when I want to import :

import TOOLS.LOG.CLog

This import cannot be resolved.

And In Eclipse “referenced libraries”, I see package PXTOOLS which includes both STRING.jar and LOG.jar, but I don’t see STRING and LOG package !

How can I fix it ?

  • 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-20T10:56:26+00:00Added an answer on May 20, 2026 at 10:56 am

    I use these jar, with import in .java
    :

    import LOG.CLog import STRING.CString

    You import classes by qualifying them with package names; not directly from JAR files. I hope your package is called LOG and class is CLog here (though it’s a bad naming convention to have uppercase package names)

    Secondly, merging JAR files into one isn’t recommended. It’s best to keep them separate. If at all you did want to merge, you must ensure that you extract all the class files first and then merge.

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

Sidebar

Related Questions

I am very new to iPhone. I have developed two version of an application
I have two questions. In my webpage (developed by me), I use the GET
I have developed an Java application with RMI,JPA and H2DB, look at the screenshot
I have developed a Java Swing application, which uses the SwingWorker class to perform
I have a developed two small Java applications - a vanilla Java app and
I've developed a simple application with TabView. There are two tabs, each tab has
I have these two file in my project that I am migrating from php.
I am Java beginner. I have developed only two Java desktop applications and I
I have two different web applications in Clojure developed with Compojure. Each use defroutes
I have these two lines in my code being developed in HTML5: context.rotate(radian); radian

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.