Java installation

From OpenKM Documentation
Revision as of 14:15, 10 November 2011 by Anonymous (talk)

Jump to: navigation, search

You should check if there is a previous java version installed in your system. You can check it running this command:

$ java -version

It will tell you the installed version, if any. Keep in mind that OpenKM needs JDK 1.6 (or higher) to run. If you use a Debian based Linux distribution, you can install the Java JDK this way:

$ sudo aptitude install sun-java6-jdk

In case you have another JDK installed (like GCJ), you can select the right one this way:

$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac

If you use a Windows based OS, download and install Java JDK from http://http://www.oracle.com/technetwork/java/javase/downloads/index.html. In other cases visit http://http://www.oracle.com/technetwork/java/index.html for more information.