just for fun, try the command below to use java 1.5 instead.  not sure what
the problem is, the setup you describe should work fine, and does work fine
for me.  i've had some problems with java 1.6 on mac, not these problems
though, but worth a try.

/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java -cp
jline-0.9.94.jar:clojure.jar jline.ConsoleRunner clojure.main


On Sun, Jan 10, 2010 at 9:08 PM, piscesboy <oraclmas...@gmail.com> wrote:

> java version "1.6.0_17"
> clojure 1.1.0
>
> Running on Mac OS X.
>
> On Jan 10, 2:46 pm, Mark Rathwell <mark.rathw...@gmail.com> wrote:
> > your syntax looks fine.  are you running on unix or windows?  what java
> > version?  what clojure version?
> >
> > On Sun, Jan 10, 2010 at 11:54 AM, piscesboy <oraclmas...@gmail.com>
> wrote:
> > > I placed clojure.jar, jline.jar and jline-0.9.94.jar all in the same
> > > directory. I started the default clojure editor using:
> >
> > > java -cp clojure.jar clojure.main, and recieved the standard
> >
> > > user=>
> >
> > > prompt. However, when using:
> >
> > > java -cp jline-0.9.94.jar:clojure.jar jline.ConsoleRunner clojure.main
> >
> > > I get:
> >
> > > Exception in thread "main" java.lang.ClassNotFoundException:
> > > clojure.main
> > >        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > >        at java.security.AccessController.doPrivileged(Native Method)
> > >        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > >        at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:244)
> > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
> > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
> > >        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
> > >        at java.lang.Class.forName0(Native Method)
> > >        at java.lang.Class.forName(Class.java:169)
> > >        at jline.ConsoleRunner.main(ConsoleRunner.java:69)
> >
> > > Am I using the wrong syntax?
> >
> > > --
> > > 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<clojure%2bunsubscr...@googlegroups.com>
> <clojure%2bunsubscr...@googlegroups.com<clojure%252bunsubscr...@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<clojure%2bunsubscr...@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

Reply via email to