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! While you're at it, check out some resources Treehouse students have shared here.

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

How can I install the REPL on my mac? also the java REPL link doesn't work anymore

I have no idea how to instal the java REPL on my mac, and also the REPL link seems not working anymore. please help me thanks a lot

2 Answers

To install and run the repl on your mac, try these steps: Open up your terminal; run the command ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”; enter in your password etc; run command brew install javarepl; then run command javarepl to start the repl. Hope that works for you!

That works, Thanks a lot :)

Hi Akira.

Here is a link to the javarepl.jar file that I have: javarepl

All you have to do is run the file with this command in you terminal window: java -jar /pathToFile/javarepl.jar

Thanks for ur input :)