runtime - How do I run compiled java classes with GPU libraries (Jogamp JOCL)? -


does know how run java code command line dependency on gpu libraries in case jogamps jocl.

i have compiled test program hellojocl.java error during run time.

i tried javac -classpath "./lib/jocl.jar:./lib/jocl-natives-macosx-universal.jar:./lib/jocl-natives-linux-i586.jar:./lib/jocl-natives-linux-amd64.jar:./lib/gluegen-rt.jar:./lib/gluegen-rt-natives-linux-amd64.jar:./lib/gluegen-rt-natives-macosx-universal.jar:./lib/gluegen-rt-natives-linux-i586.jar" ./hellojocl.java

java -classpath "./lib/jocl.jar:./lib/jocl-natives-macosx-universal.jar:./lib/jocl-natives-linux-i586.jar:./lib/jocl-natives-linux-amd64.jar:./lib/gluegen-rt.jar:./lib/gluegen-rt-natives-linux-amd64.jar:./lib/gluegen-rt-natives-macosx-universal.jar:./lib/gluegen-rt-natives-linux-i586.jar:." hellojocl

but error exception in thread "main" java.lang.noclassdeffounderror: com/jogamp/opencl/clcontext @ java.lang.class.getdeclaredmethods0(native method)

did try adding code try/catch like:

try { } catch (noclassdeffounderror x) {     x.printstacktrace(); } 

i admit never did this.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -