Can't start Remote unmanaged REPL

9 views
Skip to first unread message

Bruce Fancher

unread,
Apr 17, 2011, 3:18:22 PM4/17/11
to encl...@googlegroups.com

I'm trying to follow the instructions under "Remote unmanaged REPLs" at http://www.enclojure.org/REPLSupport, but without any luck.  The instructions say to do this:

java -server -cp clojure.jar:org.enclojure.repl.jar:org.enclore.commons.jar org.enclojure.repl.main "My external REPL server"

I pulled down and unpacked the contents of enclojure-plugin-2010-23-mar.nbm to find the above referenced enclore jars.  While I couldn't find a org.enclojure.repl.jar anywhere, I did find org.enclojure.repl-server.jar and org.enclojure.repl-client.jar, so I tried pulling those out and using them instead:

java -server -cp clojure.jar:org.enclojure.repl-server.jar:org.enclojure.repl-client.jar:org.enclore.commons.jar org.enclojure.repl.main "My external REPL server" 11345

This results in:

Exception in thread "main" java.lang.NoClassDefFoundError: org/enclojure/repl/main
Caused by: java.lang.ClassNotFoundException: org.enclojure.repl.main
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

I saw some mentions about other people getting similar exceptions in the list archives, but couldn't find any workarounds.  BTW, I've tried this on a Mac and on Gentoo Linux with identical results.

Thanks,

Bruce

Bruce Fancher

unread,
May 26, 2011, 1:15:53 AM5/26/11
to enclojure
Anyone?

On Apr 17, 3:18 pm, Bruce Fancher <br...@iterative.com> wrote:
> I'm trying to follow the instructions under "Remote unmanaged REPLs" athttp://www.enclojure.org/REPLSupport, but without any luck.  The
Reply all
Reply to author
Forward
0 new messages