Executable JAR - Programmers Heaven

Howdy, Stranger!

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

Categories

Executable JAR

Iceman24Iceman24 Posts: 119Member
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?
Thanks,


Iceman


Efficiency:
rawIn=(rawIn=(rawIn=br.readLine()).split("href="")[1]).split(""")[0];
Sign In or Register to comment.