Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Objects (Retired) Meet Objects Welcome Back

Java REPL for Eclipse Luna

Hey there,

I'm using the Eclipse Luna for my IDE. I can't find a plug-in in the marketplace or via google that will allow me to replicate Read-Evaluate-Print Loop functionality within Eclipse Luna. Does anyone know where I can find a plug-in or solution that will allow me this functionality inside my Eclipse IDE?

2 Answers

Craig Dennis
Craig Dennis
Treehouse Teacher

It looks like it is currently only available for the IntelliJ IDE. You can run it locally on your machine using this download.

Just run:

java -jar javarepl.jar

Got it. Thanks for confirming my options. I appreciate the help.

Brendan O'Brien
Brendan O'Brien
5,521 Points

Just FYI: The plugin version of javarepl (303) is incompatible with 2016.1.3 IntelliJ (OSX 10.11). You -can- however, open a terminal inside of IntelliJ, then run repl from there as Craig suggested (requires the version number in the command though)

      java -jar javarepl-XXX.jar
Rob Bridges
.a{fill-rule:evenodd;}techdegree seal-36
Rob Bridges
Full Stack JavaScript Techdegree Graduate 35,467 Points

From what I can see there's nothing like that in Eclipse, there's talks of adding repl like functionality into the main java language, but as of right now There doesn't appear to be anything near completion.

Brendan O'Brien
Brendan O'Brien
5,521 Points

Eclipse Scrapbooks are about as close as it gets: This is a nice video tutorial on how to use them.