UserPreferences

FreeJDKs


Making Open-Xchange work with Free JDKs

Making Open-Xchange work with Free JDKs is a work in progress. Patches to make it build are finished, but it doesn't work right yet - so this is currently interesting for developers only.

Prerequisites

To get Open-Xchange to build, you need:

[WWW]Ark Linux already contains all the prerequisites, including properly patched versions of inetlib and javamail - Ark Linux users can simply apt-get install inetlib javamail untrap ldapsdk-java.

Building

Build the prerequisites above in the order they're listed. Install the resulting jar files to /usr/share/java (this is not strictly necessary, but I've hardcoded this location in the open-xchange patch for simplicity. Feel free to put the things elsewhere and submit a patch that properly detected them in configure). Make sure you build both the ldapjdk and ldapsp parts of the Netscape LDAP SDK.

Get [WWW]Open-Xchange (tested version: 0.8.2-RC3). Apply [WWW]this patch to get rid of com.sun.image.codec.jpeg, and apply this [WWW]Patch to get rid of usages of other non-free classes. Note: This patch is constantly being updated, if you downloaded it yesterday, your version may be outdated. The correct version is 13874 bytes. After applying the patch, configure and build as usual. Make sure you point --with-mailjar, --with-activationjar, --with-jdomjar, --with-jdbcjar and --with-jsdkjar at free implementations, such as --with-mailjar=gnumail.jar (from [WWW]GNU Javamail), --with-activationjar=activation.jar (from [WWW]Classpathx JAF), --with-jdomjar=jdom.jar ([WWW]jdom.org), --with-jdbcjar=postgresql.jar ([WWW]Postgres JDBC), --with-jsdkjar=servlet-api.jar (Part of [WWW]Apache Tomcat).

Remaining problems / How you can help

javax.naming.OperationNotSupportedException

Caused by classpath's implementation of javax.naming.InitialContext.getNameInNamespace throwing OperationNotSupportedException unconditionally

Patches, comments, etc.

If you have any patches, comments, etc. on this, please edit this page and/or contact me at bero AT arklinux DOT org. Integrations