JShell: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==References== * [https://www.future-processing.pl/blog/java-8-through-11-part-1-jshell/ JShell is a new feature of JDK] * [https://docs.oracle.com/javase/10/jshell/introducti...") |
No edit summary |
||
Line 1: | Line 1: | ||
<source lang="bash"> | |||
jshell <(curl -s 'https://cdn.chorke.org/exec/cli/java/00_hello_world.jsh.txt') | |||
jshell ./00_hello_world.jsh | |||
jshell -v | |||
/exit | |||
</source> | |||
==References== | ==References== | ||
* [https://www.future-processing.pl/blog/java-8-through-11-part-1-jshell/ JShell is a new feature of JDK] | * [https://www.future-processing.pl/blog/java-8-through-11-part-1-jshell/ JShell is a new feature of JDK] |
Revision as of 10:08, 21 February 2020
jshell <(curl -s 'https://cdn.chorke.org/exec/cli/java/00_hello_world.jsh.txt')
jshell ./00_hello_world.jsh
jshell -v
/exit