title: Setting up Cloud9 IDE to compile and run Java?
body: <p>I have tried posting this request in Cloud9's forums, but since it never posts, I am hoping someone here could give me a hand. (The forum keeps saying my question is being submitted for review, but then never shows up).</p>
  
  <p>I can't get Java code to compile and run. I've Googled the issue and read other posts in their limited forums, but I can't get it to compile and run a simple Hello World! program. My .java filename matches the class and the code is fine.</p>
  
  <p>I have tried putting my .java files in the following directories:</p>
  
  <pre><code>test/java/
  
  test/src/
  </code></pre>
  
  <p>I just get this:</p>
  
  <pre><code>bash: src/HelloWorld.java: No such file or directory
  </code></pre>
  
  <p>I tried this: <a href="http://www.programmingforliving.com/2014/09/java-coding-with-cloud9-ide.html" rel="noreferrer">http://www.programmingforliving.com/2014/09/java-coding-with-cloud9-ide.html</a></p>
  
  <p>But I just get:</p>
  
  <pre><code>Running HelloWorld.java                                                                                                                                          
  
  Error: Could not find or load main class HelloWorld  
  </code></pre>
  
  <p>Any suggestions? Given I'm essentially a Java noob I am hoping the solution is fairly simple. </p>