Hi,
we have now set the compiler target version to 1.8 in the source code, meaning you will need Java 8 installed in order to build and deploy DHIS 2 trunk.
If you are on Ubuntu 14.04 LTS you may want to use Oracle Java 8, instructions for installing through webup8 here. OpenJDK 8 should be available for most other OS, on linux you can install with package name “openjdk-8-jdk”.
If necessary, make sure you update env variables (JAVA_HOME) and make sure maven builds with Java 8.
If using Eclipse you need to add the JDK/JRE from window - preferences - installed JREs.
Note that the “perm gen” space has been removed in favor of metaspace, meaning the “XX:PermSize” and “XX:MaxPermSize” java opts no longer have any impact.
regards,
Lars
···
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland