O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

  1. Spawn the JShell by typing jshell in the command prompt, and you will be greeted with a welcome message containing the instructions to get started. 
  2. Type /help intro to get a brief introduction to JShell:
  1. Type /help to get a list of the supported commands:
  1. To get more information about a command, type /help <command>. For example, to get information about /edit, type /help /edit:
  1. There is autocompletion support in JShell ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required