JShell is a REPL for Java. To use additional classes outside the standard JRE, it contains the /classpath command to add the path to the current class path.
Is there a way to view the current classpath in JShell?
Please note that I am using the following early release :
java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+111) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+111, mixed mode)
source share