dhis2-devs team mailing list archive
Mailing list archive
java 8 now required for dhis snapshot version
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
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 -
Note that the "perm gen" space has been removed in favor of metaspace
<https://dzone.com/articles/java-8-permgen-metaspace>, meaning the
"XX:PermSize" and "XX:MaxPermSize" java opts no longer have any impact.
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo