Executable JAR

I've built a JAR file which functions up to the point of actually executing the thing.I get this error when I execute using java -jar .jar:
java.io.InvalidCLassException: javax.swing.JComponent; local class incompatible: stream classdesc serialVersionUID = -5353880800724033550, local class serialVersionUID = 7917968344860800289
and then the program quits.
I get the splash screen I set up to come up (JLabel inside an undecorated JFrame with a JProgressBar at the bottom)and then the error occurs. I shouldn't have to include the swing lib should I? Any ideas as to what causes this?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!