I'm sorry to install JDK9 on my PC, but I'd like to try JShell for the time being.

How to use

So, for the time being, like this in .bashrc and .zshrc, alias setting

.zshrc


alias jshell='docker run -it --rm java:9-jdk jshell'

After that, reopen the window or read it again with the source command.

jshell

that's all.

Recommended Posts

I'm sorry to install JDK9 on my PC, but I'd like to try JShell for the time being.
Command to try using Docker for the time being
I want to put the JDK on my Mac PC
Install Amazon Corretto (preview) for the time being
Try running Spring Cloud Config for the time being
How to install JDK 8 on Windows without using the installer
I can't install rails on my mac
[Ruby] I can't install puma on Mac [Rails, etc.]
I want to put the JDK on my Mac PC
Building a DLNA server on Ubuntu (just move for the time being)