/
Install Java

Install Java

Introduction

This page lists the instructions you need to install Java (that is compatible with Ikasan).

Versions

Existing Support

Ikasan supports the following JDKs

  1. Oracle JDK 1.6.x - tested (support for this has ended as 1.6 is end of life)
  2. Oracle JDK 1.7.x - tested

Future Support

  1. Oracle JDK 1.8.x - untested

Download and Installation

Windows

  1. Download the JDK here
  2. Install at C:\Java\jdk1.7 or at C:\Java\jdk1.6

This is to avoid having sometimes troublesome spaces in the PATH of your Java install (which some scripts, servers etc don't handle very well).

Linux/UNIX

  1. Download the JDK from here
  2. Install at /usr/java/jdk1.7 or at /usr/java/jdk1.6
  3. Edit your user .profile to change environment variables:
    1. Add JAVA_HOME environment variable, e.g. export JAVA_HOME=/usr/java/jdk1.7 or export JAVA_HOME=/usr/java/jdk1.6
    2. Add $JAVA_HOME to PATH environment variable, e.g. export PATH=$JAVA_HOME/bin:$PATH

BSD

  1. make sure that your ports tree is updated (portsnap, portextract)
  2. Download the correct tarball for your processor type here and save it to /usr/ports/distfiles.
  3. Make sure you get the TZUpdater from here
  4. Make sure that inputproto is updated to version 1.7. Your installation will fail if this is not done.
  5. cd /usr/ports/java/diablo-jdk17/ && make install clean.

And you're ready to go.

Do not use other variations of the jdk available from ports. JBoss requires the diablo version.

Mac OS

Mac OS X 10.5.x/10.6.x comes preinstalled with Java (see here). Get the latest version of Java for your mac by clicking Apple Symbol-->Software Update.