Openfire on Ubuntu 10.04 Lts

follow the installation in

The first problem is Debian package has a dependency on the older “Sun” JRE packages (either sun-java5-jre or sun-java6-jre), which in ubuntu replaced by the OpenJDK packages. Assuming you’ve already installed the OpenJDK package(s), you can work around this dependency by telling dpkg to ignore dependencies:

dpkg -i --force-depends openfire_3.6.4_all.deb

and the next problem came.. the openfire wont start

so u have to edit /etc/init.d/openfire and follow this script

# Attempt to locate JAVA_HOME, code borrowed from jabref package
if [ -z $JAVA_HOME ]
    t=/usr/lib/jvm/java-6-openjdk && test -d $t && JAVA_HOME=$t
and you should be able to start
sudo /etc/init.d/openfire start



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s