Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Each WSO2 product is a Java application. Therefore, in order to install them, it is necessary to install Java Development Kit first and then set the environment variables.

Info
titleNote

Refer to  Installation Prerequisites for the full list of applications necessary to install and work with the WSO2 product you plan to use.

...

Establish a SSH connection to the Linux machine or log to the text Linux console. You should either log in as root or obtain root permissions after login via su or sudo command.

Step 1. Check if JDK is Already Installed

In order to check if Java Development Kit is installed on the computer, do the following.

...

In case the needed JDK version is not installed on the computer, proceed to Step 2 to install it.

Step 2. Install Java Development Kit (JDK)

For Ubuntu, Debian

1. Execute the following command to add the repository:

...

4. After the installation process is complete, jdk and jre are installed to /usr/lib/jvm/<java> directory, where <java> is the actual java installation folder. For example, /usr/lib/jvm/java-6-sun.

For CentOS, RedHat and Fedora

1. Download sun-JDK from the official Oracle site. Open a Web browser and access the following URL:

...