question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How does one add libraries to the classpath?

See original GitHub issue

How do I add libraries to the classpath so that I can use them with jupyter-scala.

For example, IScala has a magic sbt command like %libraryDependencies += "org.apache.spark" %% "spark-assembly" % "1.1.0". Is there something simliar with jupyter-scala

p.s. Thanks for working on this project. I think it’s great!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
neil90commented, Sep 9, 2016

When I try to add local directory via classpath.addPath(“/usr/local/spark/jars”)

All I see thats added to my classpath.path() shows /usr/local/spark/jars

And not all the individual jars located in the directory.

Per the documentation this should be correct syntax to add local jar folders but this does not seem to work as I can’t import any spark classes

1reaction
leomrochacommented, Feb 29, 2016

LOAD command fails. Value load not found

Should I open a new ticket or should it be handled here?

Here the errors: errors

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding a library reference to the project classpath
To add a library reference to the project classpath, follow this procedure: · Right-click on the project in the Project Explorer view and...
Read more >
Adding Jar files to IntellijIdea classpath - Stack Overflow
Go to File-> Project Structure-> Libraries and click green "+" to add the directory folder that has the JARs to CLASSPATH.
Read more >
FAQ How do I add an extra library to my project's classpath?
Open the context menu on the project, and select Properties > Java Build Path > Libraries. From here, you can add JAR files...
Read more >
How to Add JAR file to Classpath in Java? - GeeksforGeeks
Methods: JAR file can be added in a classpath in two different ways ; Step 1: Right-Click on your project name ; Step...
Read more >
Why do I constantly have to add a library to the classpath?
I'll need some time to create one (if I can). I believe that the issue is that maven recognizes the maven-bundle-plugin that generates...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found