Close
jGuru Forums
Posted By: Rusty_Shackleford Posted On: Friday, July 25, 2003 07:48 PM
I have a program that creates and reads files containing deserialized classes. However, the program can not read these files if the machine that created the files has a different version of the JVM than the machine that is reading them. The only information that is being deserialized are Strings, URL's and primitive data types (simply writing this information to a text file is not an option). The machines that I tested this on had versions 1.4.0_01 and 1.4.1_03. I'd like to know why this is happening and if there is some way I can fix this.
Re: Using deserialized data on machines with different versions of the JVM
Posted By: Simon_Ablett Posted On: Thursday, August 21, 2003 06:24 AM
Posted By: Zoltan_Somogyi Posted On: Thursday, August 21, 2003 03:59 AM
I use the default serialization meschanism and serializing strings and numbers.
Are you sure you did not change the classes between two tests or that you do not serialize e.g. a swing component which is not backword compatible?
Zoltan