<?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: tSystem / TOS 3.0 / Java: error=2, cannot find file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282843#M56917</link>
    <description>hello 
&lt;BR /&gt;are you sure that it can't be another problem? 
&lt;BR /&gt;Here's screenshoot of my system variables and path content: 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;as you can see, path contains php.exe folder (wamp/php/...) 
&lt;BR /&gt;But yes, really thanks you, If I set home directory to my folder which contains the php.exe binary, command "cmd /c php -version" works fine. (but not php -version". Strange is it? 
&lt;BR /&gt;I can't found any resource about path management in talend, if someone have some documentation it'll be fine. 
&lt;BR /&gt;Thanks for your help mhirt 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Tue, 21 Oct 2008 14:57:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-10-21T14:57:20Z</dc:date>
    <item>
      <title>tSystem / TOS 3.0 / Java: error=2, cannot find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282839#M56913</link>
      <description>Hello everybody 
&lt;BR /&gt;I'm trying to use a tSystem component which run command php -i on a Windows desktop. 
&lt;BR /&gt;I have the following error: 
&lt;BR /&gt; 
&lt;PRE&gt;Starting job submitWebServiceQuery at 13:23 21/10/2008.&lt;BR /&gt; connecting to socket on port 3392&lt;BR /&gt; connected&lt;BR /&gt; connecting to socket on port 4450&lt;BR /&gt; connected&lt;BR /&gt;Exception in component tSystem_1&lt;BR /&gt;java.io.IOException: Cannot run program "php": CreateProcess error=2, File doesn't exists&lt;BR /&gt;	at java.lang.ProcessBuilder.start(Unknown Source)&lt;BR /&gt;	at java.lang.Runtime.exec(Unknown Source)&lt;BR /&gt;	at java.lang.Runtime.exec(Unknown Source)&lt;BR /&gt;	at java.lang.Runtime.exec(Unknown Source)&lt;BR /&gt;	at project.submitwebservicequery_0_1.submitWebServiceQuery.tSystem_1Process(submitWebServiceQuery.java:264)&lt;BR /&gt;	at project.submitwebservicequery_0_1.submitWebServiceQuery.tRunJob_1Process(submitWebServiceQuery.java:233)&lt;BR /&gt;	at project.submitwebservicequery_0_1.submitWebServiceQuery.runJobInTOS(submitWebServiceQuery.java:558)&lt;BR /&gt;	at project.submitwebservicequery_0_1.submitWebServiceQuery.main(submitWebServiceQuery.java:367)&lt;BR /&gt;Caused by: java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable&lt;BR /&gt;	at java.lang.ProcessImpl.create(Native Method)&lt;BR /&gt;	at java.lang.ProcessImpl.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt;	at java.lang.ProcessImpl.start(Unknown Source)&lt;BR /&gt;	... 8 more&lt;BR /&gt;3593 milliseconds&lt;BR /&gt; disconnected&lt;BR /&gt; disconnected&lt;BR /&gt;Job submitWebServiceQuery ended at 13:23 21/10/2008. &lt;/PRE&gt; 
&lt;BR /&gt;I have the same error if I try the echo 'test' in command. 
&lt;BR /&gt;If I made theses commands in a cmd line window, commands are ok. 
&lt;BR /&gt;What's wrong? Is it a path problem? Under which account run talend? 
&lt;BR /&gt;Best regards,</description>
      <pubDate>Sat, 16 Nov 2024 14:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282839#M56913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem / TOS 3.0 / Java: error=2, cannot find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282840#M56914</link>
      <description>Hello, &lt;BR /&gt;You can try "cmd /c echo test"&lt;BR /&gt;BTW, this is the default configuration of the component.&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 21 Oct 2008 12:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282840#M56914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-21T12:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem / TOS 3.0 / Java: error=2, cannot find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282841#M56915</link>
      <description>hello,&lt;BR /&gt;thanks you for your feedback.&lt;BR /&gt;Yes, with this command, I have test print out.&lt;BR /&gt;But when I try something like cmd /c php -i, I have no answer: can't found php path interpreter.&lt;BR /&gt;So did I need when I try to execute a system executable or script to use the cmd /c prefix? Or is there another way to call externals scripts?&lt;BR /&gt;Best regards,</description>
      <pubDate>Tue, 21 Oct 2008 13:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282841#M56915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-21T13:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem / TOS 3.0 / Java: error=2, cannot find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282842#M56916</link>
      <description>The php command is not in your OS path.&lt;BR /&gt;Check the "use Home directory" option and specify the php bin directory classpath.</description>
      <pubDate>Tue, 21 Oct 2008 14:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282842#M56916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-21T14:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem / TOS 3.0 / Java: error=2, cannot find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282843#M56917</link>
      <description>hello 
&lt;BR /&gt;are you sure that it can't be another problem? 
&lt;BR /&gt;Here's screenshoot of my system variables and path content: 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;as you can see, path contains php.exe folder (wamp/php/...) 
&lt;BR /&gt;But yes, really thanks you, If I set home directory to my folder which contains the php.exe binary, command "cmd /c php -version" works fine. (but not php -version". Strange is it? 
&lt;BR /&gt;I can't found any resource about path management in talend, if someone have some documentation it'll be fine. 
&lt;BR /&gt;Thanks for your help mhirt 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 21 Oct 2008 14:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282843#M56917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-21T14:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem / TOS 3.0 / Java: error=2, cannot find file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282844#M56918</link>
      <description>Hello I'm new at JAVA programing and I have this code: 
&lt;BR /&gt;problem says "missing return statement" 
&lt;BR /&gt;helpme would you?=( it is a program that is a frame with a botton ("double") a textfield, and if u introduduce a number then clic the botton it should double your number and show it at the same field.... seeya 
&lt;BR /&gt;import java.awt.BorderLayout; 
&lt;BR /&gt;import java.awt.Container; 
&lt;BR /&gt;import javax.swing.*; 
&lt;BR /&gt;import java.awt.event.*; 
&lt;BR /&gt;import javax.swing.JButton; 
&lt;BR /&gt;/** 
&lt;BR /&gt; * 
&lt;BR /&gt; * @author ??? 
&lt;BR /&gt; */ 
&lt;BR /&gt;public class Pow2Frame extends JFrame { 
&lt;BR /&gt; private JButton doubleButton; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Public Pow2Frame() 
&lt;BR /&gt;{ 
&lt;BR /&gt;Container conPane = getContentPane(); 
&lt;BR /&gt;conPane.setLayout(new BorderLayout()); 
&lt;BR /&gt;setTitle("Powers of Two"); 
&lt;BR /&gt;pack (); 
&lt;BR /&gt;JLabel valueLabel = new JLabel("Value:"); 
&lt;BR /&gt;JTextField valueField = new JTextField("1", 6); 
&lt;BR /&gt;doubleButton = new JButton("Double"); 
&lt;BR /&gt;JPanel buttonHolder = new JPanel(); 
&lt;BR /&gt;buttonHolder.add(valueLabel); 
&lt;BR /&gt;buttonHolder.add(valueField); 
&lt;BR /&gt;buttonHolder.add(doubleButton); 
&lt;BR /&gt;conPane.add(buttonHolder, BorderLayout.SOUTH); 
&lt;BR /&gt;doubleButton.addActionListener((ActionListener) this); 
&lt;BR /&gt; frame.pack(); 
&lt;BR /&gt; frame.setVisible(true); 
&lt;BR /&gt;} 
&lt;BR /&gt; 
&lt;BR /&gt; public void actionPerformed(ActionEvent e) 
&lt;BR /&gt;{ 
&lt;BR /&gt; 
&lt;BR /&gt;String valueString = valueField.getText(); 
&lt;BR /&gt;int value = Integer.parseInt(valueString); 
&lt;BR /&gt;value *= 2; 
&lt;BR /&gt;valueString = Integer.toString(value); 
&lt;BR /&gt;valueField.setText(valueString); 
&lt;BR /&gt; 
&lt;BR /&gt;} 
&lt;BR /&gt;public static void main(String args[]) { 
&lt;BR /&gt; JFrame frame = new Pow2Frame(); 
&lt;BR /&gt; frame.addWindowListener(new WindowAdapter() { 
&lt;BR /&gt; @Override 
&lt;BR /&gt; public void windowClosing(WindowEvent e) { 
&lt;BR /&gt; System.exit(0); 
&lt;BR /&gt; } 
&lt;BR /&gt; }); 
&lt;BR /&gt; } 
&lt;BR /&gt;}</description>
      <pubDate>Tue, 04 Nov 2008 20:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-TOS-3-0-Java-error-2-cannot-find-file/m-p/2282844#M56918</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-11-04T20:59:07Z</dc:date>
    </item>
  </channel>
</rss>

