I have a running Openfire server on a Ubuntu 10.04 LTS. I must change the Java JRE version because there are some bug and there is no more Ubuntu security updates on the Ubuntu JRE packages: https://lists.ubuntu.com/archives/ubuntu-security-announce/2012-January/001554.h tml
So I remove all Ubuntu Java software and install the last one from Oracle: http://download.oracle.com/otn-pub/java/jdk/6u31-b04/jre-6u31-linux-x64.bin
Now this is my Java version:
java version “1.6.0_31”
Java™ SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot™ 64-Bit Server VM (build 20.6-b01, mixed mode)
The problem is that now the Openfire service doesn’t start.
I try to reinstall the package and I have a dependency error:
dpkg -i openfire_3.7.1_all.deb
dpkg: regarding openfire_3.7.1_all.deb containing openfire, pre-dependency problem:
openfire pre-depends on sun-java5-jre | sun-java6-jre | default-jre-headless
sun-java5-jre is not installed.
sun-java6-jre is not installed but configs remain.
default-jre-headless is not installed.
dpkg: error processing openfire_3.7.1_all.deb (–install):
pre-dependency problem - not installing openfire
Errors were encountered while processing:
How could I install Openfire with a manually installed Java?
Thanks and best regards.