[JAVA] [Talend] Switching from Oracle JDK to OpenJDK


Since Talend Open Studio 7.1, "OpenJDK support" has been added. I switched the JDK of Talend Open Studio 7.1 that was started by Oracle JDK to OpenJDK.


Talend installed in my environment is running on Oracle JDK 8. I used tJava to display the Java version that is running. talendjava01.jpg

I have set the following in tJava.

System.out.println("java.version         = " + System.getProperty("java.version"));
System.out.println("java.vendor          = " + System.getProperty("java.vendor"));
System.out.println("java.runtime.version = " + System.getProperty("java.runtime.version"));
System.out.println("os.name              = " + System.getProperty("os.name"));

When you run a Talend job, the following will be output as standard.

Job javaversioncheck 04:05 10/03/Started in 2019.
[statistics] connecting to socket on port 3688
[statistics] connected
java.version         = 1.8.0_151
java.vendor          = Oracle Corporation
java.runtime.version = 1.8.0_151-b12
os.name              = Windows 10
[statistics] disconnected

Job javaversioncheck is 04:05 10/03/It ended in 2019.[Exit code=0]

OpenJDK installation

JDK distribution

There are multiple JDK distributions in OpenJDK.


Talend recommends this Zulu and because there is an installer, I will install the following Zulu OpenJDK.

Download Zulu's JDK





"Control Panel" ⇒ "System and Security" ⇒ "System" ⇒ "Detailed System Settings" "Detailed Settings" tab ⇒ "Environment Variables" Set the system environment variable "JAVA_HOME" ⇒ Changed to C: \ Program Files \ Java \ jdk1.8.0_151 C: \ Program Files \ Zulu \ zulu-8


Set % JAVA_HOME% \ bin at the beginning of the" Path "setting of the system environment variable


Java version check

When I restart Talend and run the job to check the JDK You can see that it has switched to OpenJDK.

Job javaversioncheck 02:47 12/03/Started in 2019.
[statistics] connecting to socket on port 3437
[statistics] connected
java.version         = 1.8.0_202
java.vendor          = Azul Systems, Inc.
java.runtime.version = 1.8.0_202-b05
os.name              = Windows 10
[statistics] disconnected

Job javaversioncheck is 02:47 12/03/It ended in 2019.[Exit code=0]

Reference article

Recommended Posts

[Talend] Switching from Oracle JDK to OpenJDK
[Java] How to switch from open jdk to oracle jdk
How to change from Oracle Java 8 to Adopt Open JDK 9
How to get jdk etc from oracle with cli
Features in Oracle JDK 8 but not in OpenJDK
What are JDK, Oracle JDK, OpenJDK, Java SE?
If you want to use Oracle JDK 11 from September (add Amazon Corretto)
How to download Oracle JDK 8 rpm with curl
How to Install Oracle JDK 1.8 in Ubuntu 18.04 LTS?
How to use Oracle JDK 9 EA with Travis CI
Changes from Java 8 to Java 11
Sum from Java_1 to 100
Migrate from JUnit 4 to JUnit 5
From Java to Ruby !!
Try switching from the RHEL environment to the Ubuntu environment Server installation