Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
STAFF
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
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Rob Bridges
Full Stack JavaScript Techdegree Graduate 35,459 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.

https://www.youtube.com/watch?v=2OG-tVNoOIU