title: How to run a java program using eclim?
body: <p>I can't seem to run a simple Hello World program using eclim. I followed the install guide at <a href="http://eclim.org/guides/install.html#guides-install" rel="nofollow noreferrer">http://eclim.org/guides/install.html#guides-install</a> and the tutorial at <a href="http://eclim.org/gettingstarted.html#gettingstarted" rel="nofollow noreferrer">http://eclim.org/gettingstarted.html#gettingstarted</a>, but when I try to run the program (using :Java) I get </p>
  
  <pre><code>java.lang.RuntimeException: Required setting 'org.eclim.java.run.mainclass' has not been set.
      at org.eclim.plugin.jdt.command.src.JavaCommand.execute(JavaCommand.java:107)
      at org.eclim.command.Main.main(Main.java:89)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.martiansoftware.nailgun.NGSession.run(NGSession.java:334)
  </code></pre>
  
  <p>And I don't know how to set whatever it says I didn't set. The program successfully compiles, and I can run it regularly in terminal, I am using Ubuntu 9.10, java jdk 1.6, eclim 1.5.4.</p>