Re: jogl classpath not found

2010-03-12 Thread strattonbrazil
Yes, it was a silly typo. Needed to move -cp over. Thanks for the help everyone. Whole command for reference: java -Djava.library.path=./jogl-2.0-linux-amd64/lib -cp ~/clojure/ clojure-1.0.0.jar:./jogl-2.0-linux-amd64/lib/jogl.all.jar:./jogl-2.0- linux-amd64/lib/gluegen-rt.jar:./jogl-2.0-linux-a

Re: jogl classpath not found

2010-03-12 Thread MichaƂ Marczyk
On 12 March 2010 17:09, strattonbrazil wrote: > java -cp -Djava.library.path=./jogl-2.0-linux-amd64/lib ~/clojure/ > clojure-1.0.0.jar:./jogl-2.0-linux-amd64/lib/jogl.all.jar:./jogl-2.0- > linux-amd64/lib/gluegen-rt.jar:./jogl-2.0-linux-amd64/lib/ > nativewindow.all.jar clojure.main test.clj Note

Re: jogl classpath not found

2010-03-12 Thread strattonbrazil
I've also tried setting the library path on the command line already like this java -cp -Djava.library.path=./jogl-2.0-linux-amd64/lib ~/clojure/ clojure-1.0.0.jar:./jogl-2.0-linux-amd64/lib/jogl.all.jar:./jogl-2.0- linux-amd64/lib/gluegen-rt.jar:./jogl-2.0-linux-amd64/lib/ nativewindow.all.ja

Re: jogl classpath not found

2010-03-11 Thread strattonbrazil
Hrmm, that's weird. Well thanks for that. I just put it all on the command line for now. Does -jar ignore -cp or something because that didn't work for me? This is what I got now... java -cp ~/clojure/clojure-1.0.0.jar:./jogl-2.0-linux-amd64/lib/ jogl.all.jar:./jogl-2.0-linux-amd64/lib/gluegen

Re: jogl classpath not found

2010-03-11 Thread Zach Tellman
In the past, I haven't had a lot of luck putting the JOGL libraries on the classpath. A much better approach, I've found, is to create a custom script to load up clojure, and put the class and library paths as parameters to the java executable. My library used to target JOGL (it now uses LWJGL),

Re: jogl classpath not found

2010-03-11 Thread Richard Lyman
I'm not sure if this will help, but here's some tidbits from the day I spent toying around with JOGL... I think it was version 1.1.1. This is part of the Ant file that I used: ...

jogl classpath not found

2010-03-11 Thread strattonbrazil
I downloaded the new jogl 2.0 libs and can't get jogl to be recognized in my classpath. It's stuck on the import. (import '(javax.media.opengl.awt GLCanvas)) In my shell I have clojure aliased to 'java -jar clojure-1.0.0.jar' I have my CLASSPATH as echo $CLASSPATH ./jogl-2.0-linux-amd64/lib/jo