0

I recently upgraded to java9 and I am using the Jshell option which java provides. I find it intuitive but I am not able to close the Jshell window, can someone suggest some command for the same.

Naman
  • 27,789
  • 26
  • 218
  • 353
Mike
  • 35
  • 6

2 Answers2

3

Use /exit to exit the jshell.

For all the available options use /help.

rsanath
  • 1,154
  • 2
  • 15
  • 24
3

you can simply type /exit to exit the jshell console.

you can find more info about jshell here

https://docs.oracle.com/javase/9/tools/jshell.htm#JSWOR-GUID-C337353B-074A-431C-993F-60C226163F00

Kamesh Joshi
  • 382
  • 2
  • 10