<?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: Execute jar file on qmc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075065#M358728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello petter,&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m sorry but don`t exactly understand what you mean. I already set a system variable for jre&lt;/P&gt;&lt;P&gt;So what is your suggestion on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2016 16:44:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-02T16:44:12Z</dc:date>
    <item>
      <title>Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075063#M358726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, i struggling with following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a jar file and i want to excute in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C "java -jar D:\myfile.jar &amp;gt; D:\test.csv";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i run the script in Qlikview Desktop it works. But when I´m doing a reload in QMC it doesn`t work. indeed the file was created then but with noting in it and size = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ve tried a lot of suggestions like changing security settings but nothing worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully someone can help me out here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075063#M358726</guid>
      <dc:creator />
      <dc:date>2016-03-02T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075064#M358727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This kind of execution demands that the User Account that the Load Script is executing as on the QlikView Server/Publisher has the same environment variables as your Desktop Account. The Java environment and rights to the Java executables has to be the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 16:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075064#M358727</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-03-02T16:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075065#M358728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello petter,&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m sorry but don`t exactly understand what you mean. I already set a system variable for jre&lt;/P&gt;&lt;P&gt;So what is your suggestion on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 16:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075065#M358728</guid>
      <dc:creator />
      <dc:date>2016-03-02T16:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075066#M358729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to ask some basic questions as I have no idea how your environment looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Have you or someone installed Java at all on the computer that runs the QMC?&lt;/P&gt;&lt;P&gt;- Have all the requirements for Java been installed and configured on that computer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally you can also catch error messages from the EXECUTE by also including 2&amp;gt;error.log like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EXECUTE cmd.exe /C "java -jar D:\myfile.jar &amp;gt; D:\test.csv&amp;nbsp; 2&amp;gt;D:\myfile-jar-errorlog.txt";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If the Java interpreter and or JVM or the Java program for some reason has some problems they will not be reported to standard output but to standard error output which can be redirected by using 2&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 17:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075066#M358729</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-03-02T17:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075067#M358730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Qlikview and all its components like Qlikview Server is running on a Windows Server 2012&lt;/P&gt;&lt;P&gt;- On this Server there is also installed jre1.8.0_73&lt;/P&gt;&lt;P&gt;- like I said with Qlikview Desktop it's working. So I think it's configured properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My errorlog is:&lt;/P&gt;&lt;P&gt;"'java' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;operable program or batch file."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 17:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075067#M358730</guid>
      <dc:creator />
      <dc:date>2016-03-02T17:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075068#M358731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error log indicates that the path is not included in the PATH environment variable for the particular account that runs the load script. Just logging in as a different user on the same computer and running the QlikView Desktop successfully with Java does not prove that the environment for the other user is set up properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be able to run the Java program successfully if you have something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EXECUTE cmd.exe /C "&lt;STRONG&gt;C:\ProgramFiles\Java\jre_1.8.0_73\bin\&lt;/STRONG&gt;java.exe -jar D:\myfile.jar &amp;gt; D:\test.csv&amp;nbsp; 2&amp;gt;D:\myfile-jar-errorlog.txt";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Or if you make a change to the PATH environment variable for the entire system and include the path to java.exe binary you could use your "old" command line ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075068#M358731</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-03-02T18:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075069#M358732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you running the desktop client in the Server ?&lt;/P&gt;&lt;P&gt;You publisher node have Java installed ? &lt;/P&gt;&lt;P&gt;Have you ever tried to run manually on the server cmd ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of running on the QV Script, in Qlikview 11 you can exucute the batch commands directly on the server &lt;/P&gt;&lt;P&gt;&amp;nbsp; System --&amp;gt; Supporting Tasks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First fix your path variable &amp;amp; use supporting tasks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075069#M358732</guid>
      <dc:creator />
      <dc:date>2016-03-02T18:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Execute jar file on qmc</title>
      <link>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075070#M358733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With your suggestion it works now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, Petter!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 11:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Execute-jar-file-on-qmc/m-p/1075070#M358733</guid>
      <dc:creator />
      <dc:date>2016-03-03T11:02:32Z</dc:date>
    </item>
  </channel>
</rss>

