<?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 Re: How to set java version in the exported autonomous  (batch file) job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304556#M143862</link>
    <description>&lt;P&gt;Here is how you can set the versions of Java inside your bat file. It is important to note that the best Java version to use is the JRE that comes with a JDK. This is a weird requirement (and may actually not be essential anymore....but it was, so I always use it) Anyway,&amp;nbsp;your bat file will start like this.....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;%~d0
cd %~dp0
java -Xms256M -Xmx4096M -cp .;../lib/routines.jar..........etc&lt;/PRE&gt; 
&lt;P&gt;Edit it to point to your JDK's JRE, like this....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;%~d0
cd %~dp0
"C:/Program Files/Java/jdk1.8.0_91/jre/bin/java" -Xms256M -Xmx4096M -cp .;../lib/routines.jar..........etc&lt;/PRE&gt; 
&lt;P&gt;Note, that I am pointing my &lt;STRONG&gt;my&lt;/STRONG&gt; JRE there. You will have to tailor it to your machine's JDK's JRE location.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 00:22:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-28T00:22:10Z</dc:date>
    <item>
      <title>How to set java version in the exported autonomous  (batch file) job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304553#M143859</link>
      <description>&lt;P&gt;Can we set the java version in batch file which is exported as autonomus job?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also, If i have java7 and java8 installed, how come changing the compliance level from studio makes the difference in using java version while running the job from console and from studio?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304553#M143859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to set java version in the exported autonomous  (batch file) job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304554#M143860</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;For your question 1, do you want to specify another jvm to start up your talend open studio?&lt;/P&gt; 
&lt;P&gt;For your question 2, you can set JDK Compliance level in Studio Java Compiler preferences. &lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 702px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsbR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152361iDC52848D4404A3F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsbR.png" alt="0683p000009LsbR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 05:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304554#M143860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T05:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to set java version in the exported autonomous  (batch file) job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304555#M143861</link>
      <description>&lt;P&gt;Thanks for reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, I wan't to set specific jvm at the time of running the job from console. Ex, my job is running from Task Scheduler. And I want to use specific jvm. So is there any way to achieve this? like editing of batch file or passing any dos parameter in Tasks scheduler ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding setting compliance level, I am aware of the option of setting compliance level from studio. But my question is what exact difference it makes when we set the compliance level?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 06:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304555#M143861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T06:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set java version in the exported autonomous  (batch file) job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304556#M143862</link>
      <description>&lt;P&gt;Here is how you can set the versions of Java inside your bat file. It is important to note that the best Java version to use is the JRE that comes with a JDK. This is a weird requirement (and may actually not be essential anymore....but it was, so I always use it) Anyway,&amp;nbsp;your bat file will start like this.....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;%~d0
cd %~dp0
java -Xms256M -Xmx4096M -cp .;../lib/routines.jar..........etc&lt;/PRE&gt; 
&lt;P&gt;Edit it to point to your JDK's JRE, like this....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;%~d0
cd %~dp0
"C:/Program Files/Java/jdk1.8.0_91/jre/bin/java" -Xms256M -Xmx4096M -cp .;../lib/routines.jar..........etc&lt;/PRE&gt; 
&lt;P&gt;Note, that I am pointing my &lt;STRONG&gt;my&lt;/STRONG&gt; JRE there. You will have to tailor it to your machine's JDK's JRE location.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 00:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304556#M143862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T00:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to set java version in the exported autonomous  (batch file) job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304557#M143863</link>
      <description>&lt;P&gt;Thanks a lot.&lt;/P&gt; 
&lt;P&gt;That's exactly what I wanted.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Though in my case it works with jre as well as jdk &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 06:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-java-version-in-the-exported-autonomous-batch-file/m-p/2304557#M143863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T06:34:30Z</dc:date>
    </item>
  </channel>
</rss>

