I wrote a small Clojure app (1.4) and then bundled it up with "lein 
uberjar". This app uses Ring and Jetty so it handles the webserver itself. 

On my local machine, a Macintosh, in the terminal, I can start it with:

java -jar kiosk.clj 30000

This works fine. 

I also moved to another server, running Centos, and I used "yum install" to 
install a JVM and then I again did: 

java -jar kiosk.clj 30000

and that worked fine.

Then I gave the app to the sysadmin, and he tried to spin it up on another 
server, and on startup he got the error:

Could not find or load main class –jar

What does this mean? 



-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to