My understanding is that there are no significant drawbacks in using the openjdk runtime. So the ubuntu package I am using for installations on ubuntu 18.04 bionic is openjdk-8-jre headless.
Note that there are currently issues running DHIS2 against higher java versions (eg 9 and 11) so it is a good idea to install the runtime first, before installing things like tomcat8 which could pull in an incompatible jvm as a dependency.
I welcome any thoughts on different jvms people might be using and why.
Dear Bob,
I am sure i informed you about the Oracle PPA which had been discontinued. Now it is extremely difficult to do a new installation using the dhis2-tool or update the current java version that we have running. Please can you review the tool again so that we can have one which would not be giving issues to troubleshoot after installation.
Dear Bob,
This is for a situation for a new instance and thanks. So can we used the same for a current running dhis2 and then swap from the oracle-8 to the openjdk-8?
Can confirm OpenJDK working well for us after initial glitches. Also got DHIS2 Tools to work (had to add PostGIS extension manually and possibly had to amend path in setenv.sh).