<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Java 17 compatibility enabled in studio, engine 2.13.9 set with dynamic Java selection, but job still runs under Java 8 in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Java-17-compatibility-enabled-in-studio-engine-2-13-9-set-with/m-p/2503784#M12629</link>
    <description>&lt;P&gt;Dear support,&lt;/P&gt;
&lt;P&gt;We have upgraded to remote engine 2.13.9 and enabled dynamic Java selection mode :&amp;nbsp;&lt;A href="https://help.qlik.com/talend/en-US/remote-engine-user-guide-windows/Cloud/configure-java-versions-for-job-execution-or-microservice-execution" target="_blank" rel="noopener"&gt;https://help.qlik.com/talend/en-US/remote-engine-user-guide-windows/Cloud/configure-java-versions-for-job-execution-or-microservice-execution&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In file&amp;nbsp;&lt;SPAN&gt;&amp;lt;RE_installation&amp;gt;/etc/system.properties, we have set the 2 variables:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;org.talend.execution.JAVA_8_PATH=path to Java 8 bin directory&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;org.talend.execution.JAVA_17_PATH=patch to Java 17 bin directory&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We have enabled Java 17 compatibility in Talend studio 8 (8.0.1.20240920_1319-patch):&amp;nbsp;&lt;A href="https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-09/setting-compiler-compliance-level" target="_blank" rel="noopener"&gt;https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-09/setting-compiler-compliance-level&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Nevertheless, after redeploying an artifact, it seems to be still running under Java 8. In the execution logs on TMC I see :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;job XXX execution from task execution XXX started using Java 8 on path C:/Program Files/Java/jre1.8.0_291/bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Was it not supposed to use Java 17 for execution ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 20:32:36 GMT</pubDate>
    <dc:creator>selimseddiki</dc:creator>
    <dc:date>2025-01-30T20:32:36Z</dc:date>
    <item>
      <title>Java 17 compatibility enabled in studio, engine 2.13.9 set with dynamic Java selection, but job still runs under Java 8</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Java-17-compatibility-enabled-in-studio-engine-2-13-9-set-with/m-p/2503784#M12629</link>
      <description>&lt;P&gt;Dear support,&lt;/P&gt;
&lt;P&gt;We have upgraded to remote engine 2.13.9 and enabled dynamic Java selection mode :&amp;nbsp;&lt;A href="https://help.qlik.com/talend/en-US/remote-engine-user-guide-windows/Cloud/configure-java-versions-for-job-execution-or-microservice-execution" target="_blank" rel="noopener"&gt;https://help.qlik.com/talend/en-US/remote-engine-user-guide-windows/Cloud/configure-java-versions-for-job-execution-or-microservice-execution&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In file&amp;nbsp;&lt;SPAN&gt;&amp;lt;RE_installation&amp;gt;/etc/system.properties, we have set the 2 variables:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;org.talend.execution.JAVA_8_PATH=path to Java 8 bin directory&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;org.talend.execution.JAVA_17_PATH=patch to Java 17 bin directory&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We have enabled Java 17 compatibility in Talend studio 8 (8.0.1.20240920_1319-patch):&amp;nbsp;&lt;A href="https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-09/setting-compiler-compliance-level" target="_blank" rel="noopener"&gt;https://help.qlik.com/talend/en-US/studio-user-guide/8.0-R2024-09/setting-compiler-compliance-level&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Nevertheless, after redeploying an artifact, it seems to be still running under Java 8. In the execution logs on TMC I see :&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;job XXX execution from task execution XXX started using Java 8 on path C:/Program Files/Java/jre1.8.0_291/bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Was it not supposed to use Java 17 for execution ?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 20:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Java-17-compatibility-enabled-in-studio-engine-2-13-9-set-with/m-p/2503784#M12629</guid>
      <dc:creator>selimseddiki</dc:creator>
      <dc:date>2025-01-30T20:32:36Z</dc:date>
    </item>
  </channel>
</rss>

