As I was preparing the post a message requesting help for
an error (see below) generated when I entered the quick start
suggest, I realized that suggestion is generic, and not technically
accurate.
java -cp clojure.jar clojure.lang.Repl
Many people may give up without realizing that the VERSION
specific name of the clojure jar must be substituted instead....
java -cp clojure_1.0.0.jar clojure.lang.Repl
While this is entirely obvious once it has been noticed even
once, I figured posting it might help someone else and might
suggest editing the "QuickStart" page recommendation.
==== Message I originally would have posted ====
When running clojure [java -cp clojure.jar clojure.lang.Repl ] the
following error is returned:
Could not find the main class: clojure.lang.Repl
The full display reads:
c:\clojure>java -cp clojure.jar clojure.lang.Repl
Exception in thread "main" java.lang.NoClassDefFoundError: clojure/
lang/Repl
Caused by: java.lang.ClassNotFoundException: clojure.lang.Repl
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: clojure.lang.Repl. Program will exit.
Please tell me what typical things (paths? configs?) to check and fix?
--
HerbM
--
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