Difference between revisions of "Java installation"

From OpenKM Documentation
Jump to: navigation, search
Line 5: Line 5:
 
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:
 
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:
  
  $ aptitude install sun-java6-jdk
+
  $ sudo aptitude install sun-java6-jdk
  
 
In case of you have other JDK installed (like GCJ) you can select the right one this way:
 
In case of you have other JDK installed (like GCJ) you can select the right one this way:

Revision as of 13:53, 20 September 2010

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 of you have other 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://java.sun.com/javase/downloads/index.jsp. In other case visit http://java.sun.com for more information.