← Back to team overview

dhis2-devs team mailing list archive

java on ubuntu

 

Quick question.  There seems to be at least 3 common ways I see java
being deployed on ubuntu:
1.  download jdk binaries from sun, expand to some custom folder (eg
/home/bobj/java) and set path and JAVA_HOME accordingly
2.  install 'official' oracle jdk java6 binaries with something like
'sudo apt-get install sun-java6-jdk' and switch between this and
openjdk with update-java-alternatives
3.  go with openjdk

I think 1 is probably favoured by developers as it allows maximum
flexibility, working with different versions etc.  Its what I tend to
do anyway :-)

For server installs I think it makes much more sense to not fight
against the package system, so 2 is probably most common.  I'm curious
about 2 and 3.  Does anyone have any concrete (ie not 3rd hand
hearsay) experience of running dhis on openjdk?.

Cheers
Bob


Follow ups