Re: Help: Java code works, Clojure code doesn't

2009-05-05 Thread Sean Devlin
Another great idea. Following this technique, the Java code executed perfectly when called from Clojure. Time to check my configuration again. Thanks for the tip! On May 5, 12:59 pm, Adrian Cuthbertson wrote: > Perhaps you could try calling your java class directly from the repl... > > (Tutori

Re: Help: Java code works, Clojure code doesn't

2009-05-05 Thread Adrian Cuthbertson
Perhaps you could try calling your java class directly from the repl... (TutorialConnect1.) That might highlight the problem - your java stack strace might give some clues. It does sound like a classpath problem of some sort. Rgds, Adrian. On Tue, May 5, 2009 at 6:04 PM, Sean Devlin wrote: >

Re: Help: Java code works, Clojure code doesn't

2009-05-05 Thread Sean Devlin
That's a really good point, thanks for mentioning. Unfortunately, after looking into this, it's not the culprit. The java code's classpath is a _subset_ of the clojure code's classpath. Also, the DsrIPassport class doesn't exist. It was depricated years ago... The Clojure code appears to be i

Re: Help: Java code works, Clojure code doesn't

2009-05-05 Thread David Chamberlin
It sounds like you maybe haven't included all the necessary stuff in your classpath. If you are testing in REPL, then you need to include everything you need in the classpath the the invoked JVM, for example: java -classpath my-jar-file-containing-DsrlPassport.jar;clojure.jar clojure.main On