REPL : Java developers new friend
summary
JShell is a Java 9 REPL bundled with the JDK that evaluates snippets, creates implicit results like $1 for quick reuse, and accepts slash commands such as /vars, /imports and /open; it edits and removes snippets, adds external files and jars to the classpath, and launches a simple HttpServer by attaching a HelloHandler and serving a curl response on localhost:8080 (the demo returns "hello ducks"). Tips include default imports, editing in an external editor, and exporting session history.
AI-written summary · about
chapters (3)
related talks
45mJShell: An Interactive Shell for the Java Platform
41mJava9 and REPL. Forget debugging, welcome joy and productivity
31mJava9 and REPL Forget debugging, welcome joy and productivity
01h 34mLet's Start Java11 from the Beginning with JShell
48mInteractive Java Support to your tool
32mREPL, do you speak it
50mThe Good, the Bad and the Ugly of Java API Design
45mAdvanced "Java 101"
