dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #39085
java 8 now required for dhis snapshot version
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
<http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html>.
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
<https://dzone.com/articles/java-8-permgen-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
http://www.dhis2.org <https://www.dhis2.org>