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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:32:04+00:00 2026-05-27T04:32:04+00:00

Jar available at http://dl.dropbox.com/u/10919879/roller.jar After writing and testing my program with Eclipse’s built-in run

  • 0

Jar available at http://dl.dropbox.com/u/10919879/roller.jar

After writing and testing my program with Eclipse’s built-in run Utilities, I decided it was time to export and distribute. So I go to File>Export>Runnable JAR and designate the class whose main method I want to invoke. Everything seems to be going off without a hitch, until I try to actually run the JAR.

Error: Could not find or load main class C:\Users\Matt\Documents\My Dropbox\Publ
ic\roller.jar

Contents of roller.jar

dice/Roller$RollData.class
dice/Roller.class
META-INF/MANIFEST.MF

contents of META-INF\MANIFEST.MF:

Manifest-Version: 1.0
Class-Path: .
Main-Class: dice.Roller

What’s going on, and how do 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-27T04:32:05+00:00Added an answer on May 27, 2026 at 4:32 am

    It’s not a problem with your jar. It’s a problem with OS setting that launches jar files incorrectly. I don’t know if currently on Windows after installing Java it will be correctly configured automatically and why it isn’t on your system. It may require editing registry to set jar files to be launched with java -jar command.

    You can use application that converts JARs to EXEs if you’re going to distribute it only to users with Windows.

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

Sidebar

Related Questions

I have an external JAR signpost-core-1.2.1.1.jar (from http://code.google.com/p/oauth-signpost/ ), that I want to include
What options / methods / software are available to convert a JAR file to
I have a JAR file named helloworld.jar . In order to run it, I'm
Hibernate-core jar version 4.0.0.Final version is not available here . My pom shows this
How do I make the manifest available during a Maven/Surefire unittest run mvn test
Looking at Mark Murphy's excellent example at http://github.com/commonsguy/cw-advandroid/tree/master/Views/ColorMixer/ you can see where he's defined
When i run my maven build script i get Plugin com.oracle.weblogic:weblogic-maven-plugin:2.9.1 or one of
Where I can find wicketstuff-annotation.jar ? It's used to be available at least in
I am trying to use : http://code.google.com/p/jspf/ within a GWT framework. I know that
I know Android doesn't support MJPEG natively but are there any jar files/drivers available

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.