logo image

How to use Java9 JShell


1 Answer

2 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> 
2 years ago by Megamind