java can't run command line application
<p>Hello all I am developing an application that will run a command line application from a java interface.This app used to work on my fedora but now under ubuntu I get this message:</p>

<blockquote>
  <p>Error opening terminal: unknown.</p>
</blockquote>

<p>I am starting the application using this command:</p>

<pre><code> Process clientProcess = Runtime.getRuntime().exec(clientcommand);
</code></pre>

<p>where clientcommand is a string that contains the command to be run.
also please note that when I copy and paste the command dirrectly to the console the program runs as supposed.What am I doing wrong? is there an issue with running a command this way? 
regards maxsap.</p>
