Building Petals ESB source code

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History
h2. Java Requirements

Petals ESB must be build with JDK 6, even if it is run with upper version of Java.
h3. For Petals ESB 4.x

Petals ESB must be build with Sun/Oracle JDK 6 (not OpenJDK), even if it is run with upper version of Java.

To be able to run Petals ESB with JDK 7+ (Sun/Oracle or OpenJDK) and build it with JDK 6+, you may defined an alias to the Maven command. For example on an Ubuntu system, add the following lines to your {{~/.bashrc}}:
{code}
alias mvn="JAVA_HOME=~/jdk1.6.0_45 mvn"
{code}

h3. For Petals ESB 5.x

Petals ESB must be build with JDK 7, even if it is run with upper version of Java.

To be able to run Petals ESB with JDK 8+ and build it with JDK 7+, you may defined an alias to the Maven command. For example on an Ubuntu system, add the following lines to your {{~/.bashrc}}:
{code}
alias mvn="JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 mvn"
{code}

h2. Maven requirements