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.
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]
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 zulu8.36.0.1-ca-jdk8.0.202-win_x64.msi
Run the msi file and click "Next"
Unless otherwise specified, "Next"
"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
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]
[[Talend] Try running Talend Open Studio 7.1.1 with OpenJDK] (https://dev.classmethod.jp/business/talend-tips-7-1-1-install/)
[Summary of Java support] (https://qiita.com/nowokay/items/edb5c5df4dbfc4a99ffb)
From Kobold to Dragon- Procedure for installing OpenJDK on Windows
[HHeLiBeX Diary Masamichi Hen Difference in string concatenation performance due to different JDK versions] (https://hhelibex.hatenablog.jp/entry/20091107/1257557112)
Recommended Posts