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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:16:33+00:00 2026-06-18T18:16:33+00:00

Ok, I have this file I use for debugging purposes while I’m writing some

  • 0

Ok, I have this file I use for debugging purposes while I’m writing some code. However, I am looking to speed up the process by packing it in an executable .jar file. I have been creating a jar file via eclipse, and attempting to run it as is.

The contents of the jar (Derivitave Quiz.jar) are as follows:

  • DerivQuiz.java
  • DerivQuiz.class
  • Meta-INF (empty folder)
  • pass.txt

Also, would I have to re-write it to use a non-command line output, such as Jpane/JOptionPane, instead of System.out.print()?

My current code works fine in Eclipse, but not after porting to a jar.

  • 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-18T18:16:35+00:00Added an answer on June 18, 2026 at 6:16 pm

    I did have to change all my print statements to use JOptionPane.showMessageDialog() instead of System.out.print().

    Upon further inspection, the jar was being created without a manifest file, not allowing the jar to run.

    I fixed this by adding a manifest file under META-INF/manifest.xml, with the following code:

    Manifest-Version: 1.0
    Created-By: 1.6.0_27 (Sun Microsystems Inc.)
    Main-Class: MCExploit
    

    Adding this allows the jar to run flawlessly, in addition to the other adjustments I made.

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

Sidebar

Related Questions

I become use raw socket and i have this problem: bad file descriptor the
I have this use case of an xml file with input like Input: <abc
I use an externel javascript file and i have this, function getdropdownvalue() { alert($(#<%=DLState.ClientID%>));
I have an Application Object. In Global.asax file i use this: Application[obj] = test;
i make one class file for jar. and this class have use wurfl. and
I have a header file. In this header I want to use a map
I have this file structure: folderIWantStuffIn/ - old_stuff Now I want to add some
I have this in my web.config file (edited to reflect some changes): <configSections> <section
I have added some debugging code to my app which I want to call
I’m writing some logic for academic purposes symbol source server. I have to check

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.