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

  • SEARCH
  • Home
  • 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 6170301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:00:35+00:00 2026-05-23T23:00:35+00:00

How does one compares to the other? I have an embedded application that if

  • 0

How does one compares to the other? I have an embedded application that if compiled and archived into a .jar with the regular Eclipse export tool will work fine in my emulator and subsequently, in the device itself. Now I’m trying to use the command line jar tool to the same effect but I’m stuck. The .jar file is created and I can even install it fine in the emulator, but when I try to run, nothing happens.

Due to my experience with this emulator/device, I reckon its a problem lying on the .jar file generated by the command line tool. I don’t use any kind of “compilation parameter” so to speak with Eclipse except for the manifest file, which I also add with the command line tool. Besides, there’s “some” compression using Eclipse, whereas the command line tool generates an even more compressed file (or not compressed at all using the -0 parameter, but none worked).

Well, it all made me wonder how the Eclipse archiving tool works and if there’s a way to obtain the same results with the command line tool – I know, I know, it does sound stupid, but so is the damn emulator.

Not that I consider relevant, but the jar command I’m using is this:

jar cmfv0 34092040.mf Releaser.jar -C src . (output file size: 140kb)

or

jar cmfv 34092040.mf Releaser.jar -C src . (output file size: 53kb)

Eclipse outputs a 81kb file.

EDIT: Please close this question. The problem is my giant stupidity (I forgot to COMPILE the files before archiving them u.u)

  • 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-23T23:00:36+00:00Added an answer on May 23, 2026 at 11:00 pm

    Eclipse may be creating a different structure inside its archive, e.g. including dependencies or such. Are there any dependent projects or third-party jars being used?

    If the code in the jar is going to depend on an external jar, you can add an entry in the manifest.mf file for each dependent jar. What is supposed to happen is the runtime checks the manifest and gives a more specific error; something like “Can not find jar: xyz.jar” which reminds you to add it to the classpath.

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

Sidebar

Related Questions

How does one go about authoring a Regular Expression that matches against all strings
does one perform better over the other in terms of indexing/quering etc ? e.g.
How does one go about referencing a class's static properties in xaml? In other
How does one invoke a groovy method that prints to stdout, appending the output
Have two sets of data (two tables) for patient records, one 1999-2003, the other
I have created a small SIFT application that grabs the keypoints and saves it
I have an application, which does smth... at the begining of main class I
The database I am working with currently does have two tables, one holding the
I have to store integer values which are mapped to other integers. One way
I'm trying to write a project that will have some autonomous components. One of

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.