Start using Java 9 shell — jshell with docker

Purushotham Kaushik
Dec 5, 2016 · 1 min read
$ docker pull openjdk:9-jdk
$ docker run -it openjdk:9-jdk /bin/jshell
Dec 04, 2016 11:57:55 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
| Welcome to JShell -- Version 9-Debian
| For an introduction type: /help intro
jshell>
#!/bin/zsh
docker run -it openjdk:9-jdk /bin/jshell

Purushotham Kaushik

Written by

Programmer, Liberal, Progessive, Music writer, Arizona State University

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade