How to use Java9 JShell


1 Answer

7 years ago by

Type the command jshell in command prompt to enter into a jshell session

$ jshell
|  Welcome to JShell -- Version 9
|  For an introduction type: /help intro

jshell> System.out.println("Foo")
Foo

jshell> 
7 years ago by Karthik Divi