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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:27:28+00:00 2026-06-17T17:27:28+00:00

I have a Java application developed with Eclipse. I have tried to export it

  • 0

I have a Java application developed with Eclipse. I have tried to export it as a .jar file, to run it indipendently, but if I try to run it with the command

java -jar application.jar

I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/jfree/data/xy/XYDataset
 Caused by: java.lang.ClassNotFoundException: org.jfree.data.xy.XYDataset
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccesController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$%AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: UI.MainWindow. Program will exit

Currently, the main class is MainWindow.class. It contains a public static void main(String[] args) method.
I have checked the manifest.mf file and it seems correct:

  Manifest-Version: 1.0
  Main-Class: UI.MainWindow

I am using a Eclipse IDE for Java Developers version: Helios Release, on a 64-bit Windows 2008 system.

What could I do?
How could I solve this?
What’s the sense of the org/jfree/data/xy/XYDataset error?

Thanks

  • 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-17T17:27:29+00:00Added an answer on June 17, 2026 at 5:27 pm

    This is usually a case that occurs when one or more of your required dependency jar files are not included on your class path, and from the MANIFEST snippet you included, it seems this is your problem.

    On another note, you might wanna use the Export Runnable Jar feature, this guarantees that your exported jar will work, given that your Runtime Configuration used as template for exporting this jar is proper.

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

Sidebar

Related Questions

I have developed a java application which run's perfectly in local server. But When
I have developed a java swing client-server application. The server has many services like
I have a Java application that run as a background service, i.e. no GUI.
I have developed an desktop application. The problem is when I export the application
I have developed java application which is actually stored at d drive.I have imported
I developed a small application in Java using Eclipse IDE. Now i want to
We recently started using Eclipse to develop our java application and have been running
I have developed a web application based on struts2.2.1, using Eclipse indigo IDE with
I have web application using SpringFramework3.0.3.RELEASE, developed in Eclipse with m2eclipse plugin and deployed
I have a java application develeped in netbeans. I want to create a batchfile

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.