On Monday, November 28, 2011 9:52:55 PM UTC, Walter van der Laan wrote:
>
> You can add something like this to project.clj:
> :resources-path "/usr/lib/jvm/java-6-sun/lib/tools.jar"
>
> Walter
>

I found this thread an a couple of other ones relating to the problematic 
tools.jar and lein 2.

Does anyone have a way to add tools.jar to the classpath for a lein 2 
managed project?

I'm trying to just do "lein test" for ritz, and getting 
"java.lang.ClassNotFoundException: com.sun.jdi.VirtualMachine (jdi.clj:1)" 
since tools.jar not on classpath.

Have had no luck with :resources-path or the other suggestion of symlink in 
~/.lein/plugins (which I assume is more a lein1 thing).

I'm on ubuntu 12.04 (openjdk 7 or oracle jdk 7). Any tips welcome!

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to