[SOLVED]Exporting to an Excutable Jar
I am having a problem with exporting to a jar file. It is really frustrating because I have other files that have been exported the same way that work fine. But here is my problem. I can run my problem fine in Eclipse. It works great. Now, I want to share it with the world (or a few friends), however I am having problems doing this.
It gives me the error: "Could not find the main class: GameLogic.Chess. Program will now exit"
This is what I have tried. Looking at the MAINFEST.MF file inside the jar. It looks like this:
So that looks right. I have reinstalled Eclipse and Java. I have taken the Jar and put it on another computer and it ran fine, but when I took it to another machine that was imaged from the other one it got the same error I am receiving. (weird)
I have tried the plug-in fatjar and I get the same result.
I have taken the program apart and commented everything out but the JFrame. Still doesn't work. I don't know what to try next. So I figured I would try to ask a community if they knew about anything else I could try.
Re: Exporting to an Excutable Jar