Question: This about running Spark/Scala from a Zeppelin notebook.

In order to better modularize and reorganize code, I need to import existing Scala classes, packages or functions into the notebook, preferably skipping creating a jar file (much the same as in PySpark). 

Something like:

```
import myclass

```

where 'myclass' is implemented in a .scala file. Probably this source code needs to reside in a specific location for Zeppelin.

Answer: 
Committer here. It's actually a fair bit of work to support Java 9+: [SPARK-24417](https://issues.apache.org/jira/browse/SPARK-24417)

It's also almost done and should be ready for Spark 3.0, which should run on Java 8 through 11 and beyond. 

The goal (well, mine) is to make it work without opening up module access. The key issues include:

* `sun.misc.Unsafe` usage has to be removed or worked around
* Changes to the structure of boot classloader
* Scala support for Java 9+
* A bunch of dependency updates to work with Java 9+
* JAXB no longer automatically available
Primary technical reason is that Spark depends heavily on direct access to native memory with `sun.misc.Unsafe`, which has been made private in Java 9.

* <https://issues.apache.org/jira/browse/SPARK-24421>
* <http://apache-spark-developers-list.1001551.n3.nabble.com/Java-9-td20875.html>