0

When I export my project from my IDE, Eclipse into a runnable JAR the program does not work as it should.

What should appear when launched and what appears when launched from Eclipse:

enter image description here

What appears when the program is launched after exporting:

enter image description here

As you can see it does not seem to work as it should and as I've only been doing this for a while now please keep the language simple so I can understand.

How it works: enter image description here

EDIT NOTE

I put a few showMessageDialog in a few places to see what would popup and if anything would popup with numbers to know which ones and one popped up from middle of the game class but not the one I put at the top.

Community
  • 1
  • 1
WhiteBones
  • 11
  • 2

1 Answers1

1

This issue probably relates to the fact that you use images in your game but they are not included in your jar.

If you are not accessing your images using the method described here, you need to: Runnable JARs missing Images/Files (Resources)

Community
  • 1
  • 1
nhouser9
  • 6,730
  • 3
  • 21
  • 42
  • http://puu.sh/ocVAn/755495f9c9.PNG I did what it told me up till "Now in order to access..." but I have the same thing going on except I have a class that does this(refer to image) – WhiteBones Apr 10 '16 at 10:16