I am using Java Mail 1.3.2, JDK 1.4.2.06, Eclipse 3.
When I started the example code of the start page
Session session = Session.getDefaultInstance(new Properties());
Store store = session.getStore(new URLName("mstor:c:/mailbox/MyStore"));
store.connect();
...
I got the following error:
java.lang.UnsupportedClassVersionError: net/fortuna/mstor/MStorStore (Unsupported major.minor version 49.0)
in the second line of the source code ?
What is wrong ?
Thanks
Holger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using Java Mail 1.3.2, JDK 1.4.2.06, Eclipse 3.
When I started the example code of the start page
Session session = Session.getDefaultInstance(new Properties());
Store store = session.getStore(new URLName("mstor:c:/mailbox/MyStore"));
store.connect();
...
I got the following error:
java.lang.UnsupportedClassVersionError: net/fortuna/mstor/MStorStore (Unsupported major.minor version 49.0)
in the second line of the source code ?
What is wrong ?
Thanks
Holger
Hello Holger,
My apologies, I must have compiled the last release with JDK 1.5.0, which, by default will produce byte code incompatible with Java 1.4.
I will rebuild the library with support for Java 1.4 shortly.
regards,
ben
Hello Ben,
thanks for the reply.
So I will wait patiently until the next rebuild :-)
Holger