I'm sorry, the context of the message was not included. It's a reply to a thread in April 2011.
I have converted to Emacs and am using swank! Hooray! Now, I want to use swank-cdt but I have this problem. After installing swank-clojure 1.4.0 with lein, I run (use 'swank.cdt) in a repl and I get this error: http://pastebin.com/Qr1usmDa (Ignore line 1 about cake. I don't know how that got there.) If you search the mailing list for errors with core/swank-worker-thread-name It's basically recommended to switch to cake over leiningen but cake doesn't work anymore :( This is because OSX does not have tools.jar. Instead it has classes.jar. This has something to do with running the JRE instead of the JDK. Is there anything I can do on OSX Lion to resolve this issue? Thank you for your time & please excuse my sending this twice. I wanted to provide some context. On Wed, Feb 29, 2012 at 6:00 PM, sean neilan <sneil...@gmail.com> wrote: > I'm having the same issue on OSX with leiningen. > > Unfortunately, it appears the cake project has been taken down so I cannot > use it to resolve the tools.jar problem. > > http://releases.clojure-cake.org/cake gives a 404 > > The error I'm getting when I do (use 'swank.cdt) can be seen here > > http://pastebin.com/Qr1usmDa > On Saturday, April 30, 2011 4:59:55 AM UTC-5, Christian Schuhegger wrote: >> >> I am using maven directly to work with clojure and I had the problem >> with the tools.jar, too. I resolved it by adding the following block >> to my pom.xml: >> >> <profiles> >> <profile> >> <id>default-tools.jar</id> >> <activation> >> <property> >> <name>java.vendor</name> >> <value>Sun Microsystems Inc.</value> >> </property> >> </activation> >> <dependencies> >> <dependency> >> <groupId>com.sun</groupId> >> <artifactId>tools</artifactId> >> <version>1.6.0</version> >> <scope>system</scope> >> <systemPath>${java.home}/../**lib/tools.jar</systemPath> >> </dependency> >> </dependencies> >> </profile> >> </profiles> >> >> After that it is still complaining: "warning: unabled to add tools.jar >> to classpath. This may cause CDT initialization to fail." >> But this does not seem to cause a problem. >> >> Just wanted to share this bit of information with you, >> Christian > > > On Saturday, April 30, 2011 4:59:55 AM UTC-5, Christian Schuhegger wrote: >> >> I am using maven directly to work with clojure and I had the problem >> with the tools.jar, too. I resolved it by adding the following block >> to my pom.xml: >> >> <profiles> >> <profile> >> <id>default-tools.jar</id> >> <activation> >> <property> >> <name>java.vendor</name> >> <value>Sun Microsystems Inc.</value> >> </property> >> </activation> >> <dependencies> >> <dependency> >> <groupId>com.sun</groupId> >> <artifactId>tools</artifactId> >> <version>1.6.0</version> >> <scope>system</scope> >> <systemPath>${java.home}/../**lib/tools.jar</systemPath> >> </dependency> >> </dependencies> >> </profile> >> </profiles> >> >> After that it is still complaining: "warning: unabled to add tools.jar >> to classpath. This may cause CDT initialization to fail." >> But this does not seem to cause a problem. >> >> Just wanted to share this bit of information with you, >> Christian > > > On Saturday, April 30, 2011 4:59:55 AM UTC-5, Christian Schuhegger wrote: >> >> I am using maven directly to work with clojure and I had the problem >> with the tools.jar, too. I resolved it by adding the following block >> to my pom.xml: >> >> <profiles> >> <profile> >> <id>default-tools.jar</id> >> <activation> >> <property> >> <name>java.vendor</name> >> <value>Sun Microsystems Inc.</value> >> </property> >> </activation> >> <dependencies> >> <dependency> >> <groupId>com.sun</groupId> >> <artifactId>tools</artifactId> >> <version>1.6.0</version> >> <scope>system</scope> >> <systemPath>${java.home}/../**lib/tools.jar</systemPath> >> </dependency> >> </dependencies> >> </profile> >> </profiles> >> >> After that it is still complaining: "warning: unabled to add tools.jar >> to classpath. This may cause CDT initialization to fail." >> But this does not seem to cause a problem. >> >> Just wanted to share this bit of information with you, >> Christian > > > On Saturday, April 30, 2011 4:59:55 AM UTC-5, Christian Schuhegger wrote: >> >> I am using maven directly to work with clojure and I had the problem >> with the tools.jar, too. I resolved it by adding the following block >> to my pom.xml: >> >> <profiles> >> <profile> >> <id>default-tools.jar</id> >> <activation> >> <property> >> <name>java.vendor</name> >> <value>Sun Microsystems Inc.</value> >> </property> >> </activation> >> <dependencies> >> <dependency> >> <groupId>com.sun</groupId> >> <artifactId>tools</artifactId> >> <version>1.6.0</version> >> <scope>system</scope> >> <systemPath>${java.home}/../**lib/tools.jar</systemPath> >> </dependency> >> </dependencies> >> </profile> >> </profiles> >> >> After that it is still complaining: "warning: unabled to add tools.jar >> to classpath. This may cause CDT initialization to fail." >> But this does not seem to cause a problem. >> >> Just wanted to share this bit of information with you, >> Christian > > > On Saturday, April 30, 2011 4:59:55 AM UTC-5, Christian Schuhegger wrote: >> >> I am using maven directly to work with clojure and I had the problem >> with the tools.jar, too. I resolved it by adding the following block >> to my pom.xml: >> >> <profiles> >> <profile> >> <id>default-tools.jar</id> >> <activation> >> <property> >> <name>java.vendor</name> >> <value>Sun Microsystems Inc.</value> >> </property> >> </activation> >> <dependencies> >> <dependency> >> <groupId>com.sun</groupId> >> <artifactId>tools</artifactId> >> <version>1.6.0</version> >> <scope>system</scope> >> <systemPath>${java.home}/../**lib/tools.jar</systemPath> >> </dependency> >> </dependencies> >> </profile> >> </profiles> >> >> After that it is still complaining: "warning: unabled to add tools.jar >> to classpath. This may cause CDT initialization to fail." >> But this does not seem to cause a problem. >> >> Just wanted to share this bit of information with you, >> Christian > > > On Saturday, April 30, 2011 4:59:55 AM UTC-5, Christian Schuhegger wrote: >> >> I am using maven directly to work with clojure and I had the problem >> with the tools.jar, too. I resolved it by adding the following block >> to my pom.xml: >> >> <profiles> >> <profile> >> <id>default-tools.jar</id> >> <activation> >> <property> >> <name>java.vendor</name> >> <value>Sun Microsystems Inc.</value> >> </property> >> </activation> >> <dependencies> >> <dependency> >> <groupId>com.sun</groupId> >> <artifactId>tools</artifactId> >> <version>1.6.0</version> >> <scope>system</scope> >> <systemPath>${java.home}/../**lib/tools.jar</systemPath> >> </dependency> >> </dependencies> >> </profile> >> </profiles> >> >> After that it is still complaining: "warning: unabled to add tools.jar >> to classpath. This may cause CDT initialization to fail." >> But this does not seem to cause a problem. >> >> Just wanted to share this bit of information with you, >> Christian > > -- > 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 -- 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