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.
Ani Azot1,754 Points
I can't start java-repl from the workspace console
I get this error in the console when attempting to start java-repl
treehouse:~/workspace$ java-repl bash: /lib.jvm/java-1.8.0/bin/java: No such file or directory
I've tried closing and reopening the console but it doesn't work. Also, I can't start jshell either in this workspace.
Craig DennisTreehouse Teacher
This is all fixed and will work like expected, awesome job finding workarounds!
Thanks for raising this to our attention, and sorry for the confusion!
I just installed java and ran jshell from the command line.
Donald Fawcett600 Points
Yeah that will work but doesn't solve the issue of jshell apparently not being accessible from workspaces in treehouse at the moment. I emailed treehouse support about the issue, in the meantime Ani's workaround provides a solution that allows jshell session to be started from workspace.
Jshell from the command line on your own computer or from the workspace CMI works exactly the same. If you change your mind about installing JAVA I'm happy to help.