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
- Oracle JDK 1.6.x - tested (support for this has ended as 1.6 is end of life)
- Oracle JDK 1.7.x - tested
Future Support
- Oracle JDK 1.8.x - untested
Download and Installation
Windows
- Download the JDK here
- 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
- Download the JDK from here
- Install at /usr/java/jdk1.7 or at /usr/java/jdk1.6
- Edit your user .profile to change environment variables:
- Add JAVA_HOME environment variable, e.g. export JAVA_HOME=/usr/java/jdk1.7 or export JAVA_HOME=/usr/java/jdk1.6
- Add $JAVA_HOME to PATH environment variable, e.g. export PATH=$JAVA_HOME/bin:$PATH
BSD
- make sure that your ports tree is updated (portsnap, portextract)
- Download the correct tarball for your processor type here and save it to /usr/ports/distfiles.
- Make sure you get the TZUpdater from here
- Make sure that inputproto is updated to version 1.7. Your installation will fail if this is not done.
- 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.