-
Notifications
You must be signed in to change notification settings - Fork 56
Building Apache Camel
- When following the steps below please use a standard permission user unless otherwise specified.
- A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
Apache Camel binary releases are available here. To use these binaries, different Java flavours can be installed on the mentioned distributions.
Note: Apache Camel (v4.8.1) was verified at the time of creation of these instructions
export SOURCE_ROOT=/<source_root>/
-
RHEL (8.8, 8.10, 9.2, 9.4)
-
With OpenJDK 17:
sudo yum install -y java-17-openjdk java-17-openjdk-devel
-
With OpenJDK 21:
sudo yum install -y java-21-openjdk java-21-openjdk-devel
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9):
sudo yum install -y wget tar
- Download and install IBM Semeru Runtime (Java 17, 21) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot):
sudo yum install -y wget tar
- Download and install Eclipse Adoptium Temurin Runtime (Java 17, 21) from here.
-
-
SLES (15 SP5, 15 SP6)
-
With OpenJDK 17:
sudo zypper install -y --auto-agree-with-licenses java-17-openjdk java-17-openjdk-devel # except SLES 12 SP5
-
With OpenJDK21 (Only for SLES 15 SP6):
sudo zypper install -y --auto-agree-with-licenses java-21-openjdk java-21-openjdk-devel
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9):
sudo zypper install -y wget tar gzip
- Download and install IBM Semeru Runtime (Java 17, 21) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot):
sudo zypper install -y wget tar gzip
- Download and install Eclipse Adoptium Temurin Runtime (Java 17, 21) from here.
-
-
Ubuntu (20.04, 22.04, 24.04, 24.10)
-
With OpenJDK 17
sudo apt-get update sudo apt-get install -y openjdk-17-jdk
-
With OpenJDK 21:
sudo apt-get install -y openjdk-21-jdk
-
With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9):
sudo apt-get -y install wget tar
- Download and install IBM Semeru Runtime (Java 17, 21) from here.
-
With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot):
sudo apt-get -y install wget tar
- Download and install Eclipse Adoptium Temurin Runtime (Java 17, 21) from here.
-
Note: Eclipse Adoptium Temurin Runtime Version jdk-17.0.11+9
, jdk-21.0.3+9
, IBM Semeru Runtime Version jdk-17.0.9+9
, jdk-21.0.3+9
, OpenJDK 17 (On SLES 15SP5 and SLES 15SP6 only) and OpenJDK 21 (On SLES 15SP6 only) were used for verifying these instructions.
export JAVA_HOME=<path to java>
export PATH=$JAVA_HOME/bin:$PATH
To use the Camel binary in your Apache Maven pom.xml, import the Camel Bill of Materials (BOM) and then include the camel-core and any other components needed as mentioned here. There are also few examples available for reference.
Note: Apache Component references provides various references that offers services for messaging, sending data, notifications and various other services that can not only resolve easy messaging and transferring data but also provide securing of data. However few components such as Deep Java Library and Kudu are not supported on s390x. Java Flight Recorder, GraalVM Polyglot are not available in IBM Semeru Runtime (OpenJ9). Components using Hadoop (e.g. HDFS) will fail with Semeru and fix will be available in next Hadoop release (a workaround is available for current Hadoop release).
If you want to build Camel from source, refer official documentation. In this documentation mvn clean install
runs all the unit tests. Few components tests requires Docker images which are currently not available for s390x and will fail.
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.