title: Python's IDLE for Java
body: <p>Question: IS there and IDE like python's <a href="http://en.wikipedia.org/wiki/IDLE_%28Python%29" rel="nofollow noreferrer">IDLE</a> for other languages? specifically I'd like one for java, but any programing just feels so much nicer with a debug system like IDLE's. </p>
  
  <hr>
  
  <p>Info:</p>
  
  <p>The main feature I'm getting at is the ability to test programs. In IDLE I can have the editor for my class in one window, i save and run it then IDLE pops up. it there was anything to run, such happens. but If I'm making just the classes and not the full program it just sits there with a dumb look on it's face. I type in for example:</p>
  
  <pre><code>a = foo(%constructor params%)
  </code></pre>
  
  <p>and now a is an instantiation of foo and i can test any of the functions i want at will:</p>
  
  <pre><code>a.bar("function call params!")
  </code></pre>
  
  <p>and then foo.bar runs. it is incredibly useful for debugging. But I've only ever seen it in python. But would really like it in java, where I have to write a whole separate class in order to do anything. which is incredibly annoying. </p>
  
  <hr>
  
  <p>Conclusion: </p>
  
  <p>Thank you those who answered. recursive, TwentyMiles, recursive, Justin Ethier, and especially recursive... recursive... The wikipedia page is wonderful. a REPL was what I was looking for.</p>
  
  <p>P.S. sorry for the lack of info, I was in a hurry and forgot. one of those moments your you have it in your head that you know what you mean, surely everyone else does...</p>