title: IntelliJ - Setting up run configurations (getting an error)
body: <p>I've started a new project and I have a .bat file to run my application. I happen to use linux, so I can't use .bat files (and I'd prefer not to make a .sh file unless I have to). Could someone show me how to set up my run configurations so that my application will run through IntelliJ 12? I've tried a couple things and I keep getting this error:</p>
  
  <pre><code>    Error: Could not find or load main class com.intellij.rt.execution.application.AppMain
  </code></pre>
  
  <p>Here is the line from the .bat file:</p>
  
  <pre><code>    java -Xmx1500m -XX:+DisableExplicitGC -noverify -cp bin;libs/* com.rs2.Server localhost 43594 600
  </code></pre>
  
  <p>And this is what I've tried in IntelliJ:</p>
  
  <p>(I can't post pictures sorry, here's the link)
  <a href="http://imgur.com/8Trn6" rel="nofollow">http://imgur.com/8Trn6</a></p>