• Java and Ubuntu 12.04

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #16749  by xultz
 
Hello

I know almost nothing about Java. I would like to try OpenKM in a Ubuntu 12.04 Server, but it looks like Canonical took out the Java package from Oracle because of some kind of copryright issues. I found some other sugestions, like OpenJDK to replace Sun Java JDK.
I would like to know if it possible to run OpenKM in such package, or it must run onle in Sun Java JDK.

Thanx in advance for any help
 #16761  by jllort
 
You should run with sun jdk, because it was we've the environment we develop and which is tested. With openjdk should run too, but I suggest not use it on a production environment. Finally Oracle will force us to use openjdk.
 #16908  by MohammedAbbas
 
Just do the following commands and you will able to run openkm using Oracle java 6
Code: Select all
$ wget http://download.oracle.com/otn-pub/java/jdk/6u31-b04/jre-6u31-linux-i586.bin
$ chmod u+x jre-6u31-linux-i586.bin
$ ./jre-6u31-linux-i586.bin
$ sudo mv jre1.6.0_31 /usr/lib/jvm/
$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.6.0_31/bin/java" 1
$ sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" "mozilla-javaplugin.so" "/usr/lib/jvm/jre1.6.0_31/lib/i386/libnpjp2.so" 1
$ sudo update-alternatives --config java
$ sudo update-alternatives --config mozilla-javaplugin.so

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.