On Monday, September 17, 2012 3:05:57 PM UTC+1, Patrik Sundberg wrote:
>
> 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!
>
>
Adding this so others can benefit from it:
hugod in the #leiningen irc channel helped me out. One way is to add 
something like this to profile:
https://www.refheap.com/paste/5113
 

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

Reply via email to