Compiling and running the worksheet should use the same classpath.
compiling may use the build manager (has to be investigated if feasible -- don't want to keep analysis artifacts from the worksheet into the project build)
the classloader used for running should be configured with the same classpath as the compilation classpath
Compiling and running the worksheet should use the same classpath.