It appears that you need to have the VTK *.class or *.jar files on you classpath as well.
Add the path to your VTK java files to the "cp" parameter you are invoking clojure with. On Tue, Jun 21, 2011 at 11:26 AM, Antonio Recio <amdx6...@gmail.com> wrote: > I have tried also this: > > $ java -Djava.library.path=/usr/local/lib/vtk-5.9/ > -Djava.ext.dirs=/usr/share/java -cp clojure.jar:src clojure.main main.clj > > Exception in thread "main" java.lang.ClassNotFoundException: > vtk.vtkConeSource (main.clj:1) > at clojure.lang.Compiler.eval(Compiler.java:5440) > at clojure.lang.Compiler.eval(Compiler.java:5415) > at clojure.lang.Compiler.load(Compiler.java:5857) > at clojure.lang.Compiler.loadFile(Compiler.java:5820) > at clojure.main$load_script.invoke(main.clj:221) > at clojure.main$script_opt.invoke(main.clj:273) > at clojure.main$main.doInvoke(main.clj:354) > at clojure.lang.RestFn.invoke(RestFn.java:409) > at clojure.lang.Var.invoke(Var.java:365) > at clojure.lang.AFn.applyToHelper(AFn.java:163) > at clojure.lang.Var.applyTo(Var.java:482) > at clojure.main.main(main.java:37) -- 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