33

Possible Duplicate:
Is there something like python's interactive REPL mode, but for Java?

I'm looking for a REPL shell that I can use to test out snippets of Java code. Either a desktop app, or a web app (like the Groovy web console). Ideally, commonly used Java packages like:

java.io.*
java.util.*

should be automatically imported, so that I can copy and paste code from a class without having to add a bunch of imports. Does such a thing exist?

Community
  • 1
  • 1
Dónal
  • 185,044
  • 174
  • 569
  • 824

0 Answers0