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

can some body explain about what is jshell> i am practicing in Eclipse and i want to know about what jshell actually

can some body explain about what is jshell> i am practicing in Eclipse and i want to know can i use it in Eclipse neon ?

1 Answer

JShell is a new feature that came with Java 9, so make sure you have installed the latest JDK if you want to use it. JShell allows you to run single Java statements immediately, instead of having to create, compile and run a class. So it's quite useful for trying things out, especially when learning. You can read more here

You don't need an IDE to run JShell, you can do it in the console. But if you want to use it in Eclipse, here is a link that should get you started.

thank you so much for the explanation Livia