java 7


we are now requiring Java 7 for building the DHIS 2 source code.

This means that starting from DHIS version 2.16 you will need JDK 7 to deploy and run DHIS 2 on your server.

Most versions of Java 6 are not supported nor receiving security updates anymore (including Oracle) so it’s in any case a good idea to upgrade your servers. DHIS 2 are well tested on OpenJDK7 and Oracle JDK7.

For developers running Eclipse with m2e:

  • Make sure you have a JDK 7 installed

  • Go to window > preferences > installed JREs, potentially add a JDK 7

  • Right-click on the dhis root project and select Maven > Update Project, then update all projects.