V 0.2.5 in Java 1.4

  • Hi

    I do really like the card Me library. I use it for generating vCards and it
    works great..... on java 1.5 :-)

    But I've got one issue. I'm not able to run it on a J2EE Server with java
    version 1.4.

    The problem is that the card Me library uses the java.lang.enum which was
    introduced in java 1.5.

    So my question: Is there a "stable" version of card me available which runs on
    java 1.4?


  • George_H

    Hi, thanks :)

    Yes I started making cardme compatible for java 1.5+ since version 0.2.0, it
    was just easier to maintain with enums and generics. The last version of
    cardme to support 1.4 (at least that I can think) is verion 0.1.4 https://sou

    That was the last version of cardme before a complete engine re-write and
    support for vcard 3.0, it has only strict v2.1 support, so beware when using

  • Great!

    I will use the 1.4 version anyway and vcard 2.1 is no problem for me.

    Thanks for helping!

    PS: If someone has the same problem as I had....

    Exception in thread "main" java.lang.NoClassDefFoundError: org/ietf/mimedir/vcard/VCard
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)

    Do not forget to add the mime-dir-j-2.1.0-1 jar file.