> I'm guessing encoding error.  In fact, if that error is a direct 
> copy-paste from either the exact error or what you sent the sysadmin, it 
> completely explains it.  Your `-` character in `-jar` above is in fact 
>`-` (en-dash), which is causing `java` to search the classpath 
> for a class named `-jar`. 


Good lord, you were correct! We re-typed it at the terminal and everything 
worked great. Very perceptive, that you figured that out. I would not have 
guessed that error even if I had one million years to figure out the 
problem.







W dniu czwartek, 31 stycznia 2013 15:16:37 UTC-5 użytkownik Marshall 
Bockrath-Vandegrift napisał:
>
> larry google groups <lawrenc...@gmail.com <javascript:>> writes: 
>
> > Any suggestion, no matter how far fetched, will be welcome. I am 
> > ignorant about the JVM so I am having trouble debugging this problem.  
>
> >             java -jar kiosk.clj 30000 
>
> These are weird (.clj vs .jar), but since you say whatever you actually 
> ran worked... 
>
> >             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 
>
> I'm guessing encoding error.  In fact, if that error is a direct 
> copy-paste from either the exact error or what you sent the sysadmin, it 
> completely explains it.  Your `-` character in `-jar` above is in fact 
> `-` (en-dash), which is causing `java` to search the classpath for a 
> class named `-jar`. 
>
> -Marshall 
>
>

-- 
-- 
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