Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running a quick code test in eclipse

Is there a plugin in eclipse where can type in a quick java code sample and run it? I remember seeing something like this a long time ago.

like image 349
Gerrie Avatar asked Feb 01 '11 11:02

Gerrie


1 Answers

You can use the Scrapbook:

enter image description here

You need to explicitly reference all class files using a full package name, but you can get around this by importing all the libraries (including the JRE libraries) you need onto the runtime classpath.

like image 119
Joel Avatar answered Oct 13 '22 23:10

Joel