-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass CLASSPATH variable through to scala interpreter #33
Comments
It can't be done as is, the kernel somehow filters the classpath it is started with, in order not to expose all of its own dependencies. Having some kind of predef, like Ammonite does, would allow to solve the problem by putting |
Is it possible to just use the Ammonite predef, or will there need to be a separate predef created to work with the kernel? |
I have the same question as @maclockard . How do we define predef scripts that will be picked up when running both of I tried modifying the ammonite predef in |
Closing this now that the upcoming version is about to become the default one. It accepts a |
The scala REPL can pull in JAR files from the CLASSPATH like so:
However, trying the same with
jupyter-console
doesn't seem to work:I know about
load.jar("/foo/bar/baz.jar")
, but it's much easier to use the environment variable than to have to load each jar individually.The text was updated successfully, but these errors were encountered: