JDK 9 JShell Hackathon
Details
JDK 9 is adding a new tool JShell. It provides an interactive tool which evaluates declarations, statements, and expressions of the Java Programming Language: that is, provide a Read-Evaluate-Print Loop (REPL) for the Java Programming Language.
Come experiment with pre-release JShell, in this Bring-Your-Own-Laptop (BYOL) workshop. The lead JShell developer will show how it can be used to explore new APIs and prototype code, give an overview of how the JShell API can add interactive Java functionality to your tool, and will be available for questions and hands-on help throughout.
More information available at:
https://bugs.openjdk.java.net/browse/JDK-8043364
Make sure to BYOL and interact with the engineers responsible for building the tool.
9:30 Doors Open
10:00 Kick-off
12:00 Lunch (Thanks New Relic)
1:30 Wrap-up
2:00 Doors close
Installation Instructions
Download a JDK 9 build from
https://jdk9.java.net/download/
and install it, this often happens automatically, if not follow these JDK 8 instructions substituting the appropriate filenames:
http://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html
(if you already have JDK 9, it needs to be fairly recent, last month or so should be safe. JDK 8 will NOT work. And a JRE will NOT work)
Then download the JShell JAR file from
by clicking the kulla-0.....jar link. Rename this JAR file "kulla.jar" and put it somewhere convenient
Now you can run JShell (making sure you are using the java and the kulla.jar you just downloaded):
java -jar kulla.jar
For convenience (and to simulate would it would run in JDK 9), you may wish to create an alias, calling this "jshell"
JDK 9 REPL Tutorial (http://files.meetup.com/1381525/REPL_Tutorial.pdf)
