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 Java Objects Meet Objects Welcome Back

Michael Krarup
Michael Krarup
1,189 Points

Can't do "double pipe" symbol on Danish-EU keyboard?

Hi everyone.

I can't seem to insert the "||"-symbol in jshell. Am i doing the wrong input? (alt gr + the button above enter)

2 Answers

Press Ctrl + Alt and the greater or lesser than button it should work on pc in EU.

Anders Eisenhardt
Anders Eisenhardt
5,942 Points

Hi Michael,

On my mac it's simple enough. Just use the "Alt + i" key and it should work!

Michael Krarup
Michael Krarup
1,189 Points

Hi Anders.

Thanks for your advice. Still not working tho :( I installed jshell on my system with JDK9, here it works fine for some reason.

Have a great day.