title: Running a java in Ubuntu from a file located on the desktop
body: <p>I running a java program in Ubuntu and it work ok  when I type:</p>
  
  <pre><code>javac fileName.java 
  java Classname 
  </code></pre>
  
  <p>but just when is located in "cd", but when I tried to run it from a file located in the desktop</p>
  
  <pre><code>cd / desktop / project
  </code></pre>
  
  <p>it find the file project but when I put</p>
  
  <pre><code>javac Filename.java  
  </code></pre>
  
  <p>it show and error <code>&lt;File FileName.java is missing&gt;</code>. </p>
  
  <p>How I can run the program from a different place that 'cd'</p>