I was attempting to deploy BiWeekly on a server running under Java 5 (v1.5.0). After investigating why it would not work, I found that the supporting library jackson-core-2.3.3.jar is originally compiled with Java 6. On their (jackson) wiki they state that it may be possible to recompile to Java 5 with some minor changes, but that they are shipping it at Java 6. So, I was wondering if you have actually recompiled the jackson library to Java 5; if not I don't believe Biweekly is going to work in a Java 5 environment.
Thanks, Phil
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for altering me to this. I guess I will have to include a note on biweekly's project page that Java 1.6 is required for this dependency. Maybe if I downgraded to an older version it would work, but I don't want to do that. In fact, I should update biweekly so it uses the latest version.
This dependency is only needed if you are working with JSON-encoded iCalendar files. Otherwise, you can safely exclude this dependency.
-Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2015-04-20
Hi Mike, and thanks for your help. I would be willing to recompile the Jackson 2.3.3 source but I cannot locate the source on their site for that version.
How would I utilize Biweekly while excluding the dependency on the Jackson jar? Would I have to physically remove the references to it and then recompile? Thanks, Phil
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The JAR is retrieved from Maven Central, so recompiling it under Java 5 is not an option, at least on my end.
The Jackson classes are only loaded if biweekly's JSON functionality is accessed. As long as you are not reading or writing iCalendar files in JSON format, then everything will work fine.
This is how you would exclude the dependency with Maven:
I was attempting to deploy BiWeekly on a server running under Java 5 (v1.5.0). After investigating why it would not work, I found that the supporting library jackson-core-2.3.3.jar is originally compiled with Java 6. On their (jackson) wiki they state that it may be possible to recompile to Java 5 with some minor changes, but that they are shipping it at Java 6. So, I was wondering if you have actually recompiled the jackson library to Java 5; if not I don't believe Biweekly is going to work in a Java 5 environment.
Thanks, Phil
Hi Phil,
Thanks for altering me to this. I guess I will have to include a note on biweekly's project page that Java 1.6 is required for this dependency. Maybe if I downgraded to an older version it would work, but I don't want to do that. In fact, I should update biweekly so it uses the latest version.
This dependency is only needed if you are working with JSON-encoded iCalendar files. Otherwise, you can safely exclude this dependency.
-Mike
Hi Mike, and thanks for your help. I would be willing to recompile the Jackson 2.3.3 source but I cannot locate the source on their site for that version.
How would I utilize Biweekly while excluding the dependency on the Jackson jar? Would I have to physically remove the references to it and then recompile? Thanks, Phil
Phil,
The JAR is retrieved from Maven Central, so recompiling it under Java 5 is not an option, at least on my end.
The Jackson classes are only loaded if biweekly's JSON functionality is accessed. As long as you are not reading or writing iCalendar files in JSON format, then everything will work fine.
This is how you would exclude the dependency with Maven:
-Mike