Skip to content

Instantly share code, notes, and snippets.

@andirady
Last active December 18, 2021 14:18
Show Gist options
  • Save andirady/ac0bd8fce1144d3c003c720b18fb99aa to your computer and use it in GitHub Desktop.
Save andirady/ac0bd8fce1144d3c003c720b18fb99aa to your computer and use it in GitHub Desktop.
Hello world jshell
System.out.println("Hello world!")
@andirady
Copy link
Author

andirady commented Dec 18, 2021

This is meant to be a sample script for passing output of curl to jshell, i.e.:

curl -s https://gist.githubusercontent.com/andirady/ac0bd8fce1144d3c003c720b18fb99aa/raw/f771fd27ae2514b7e43d4e9ddd231e623741b2eb/hello.java | jshell -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment