June 2018
Intermediate to advanced
280 pages
7h 46m
English
We will discuss JShell in detail in Chapter 9, Best Practices in Java, for now, let's take a look at it from the RxJava perspective. Installing the RxJava framework in JShell is done by setting the classpath to both RxJava and reactive streams JAR files. Notice the use of the colon on Linux and the semi-colon on Windows as the file path separator:
"c:Program FilesJavajdk-9binjshell" --class-path D:Kitsrxjavarxjava-2.1.3.jar;D:Kitsrxjavareactive-streams-1.0.1.jar
The following error will be displayed on your screen:

The preceding error happened because we forgot to import the relevant Java class.
Following code handles ...
Read now
Unlock full access