You need this jar file j3d-core-1.3.1.jar in your classpath

If you are using leiningen then add this to your project.clj [java3d/
j3d-core "1.3.1"]

if not then you can download that jar from here
http://repo2.maven.org/maven2/java3d/j3d-core/1.3.1/

-Devender
On Dec 11, 9:15 am, rebcabin <bc.beck...@gmail.com> wrote:
> I've been having pretty good luck writing my own programs and running
> lots of samples from the contribute-files section of this google
> group, but hit a roadblock this morning:
>
> trying to run "2dplot," I installed java3d and it passes the tests 
> onhttps://j3d-webstart.dev.java.net/test/
>
> but when I try to run  2dplot.clj, I get a
> user=> (load-file "2dplot.clj")
> java.lang.ClassNotFoundException: javax.media.j3d.BranchGroup
> (2dplot.clj:23)
>
> which is on the import of java3d; here's line 23, unchanged:
>
> (import '(javax.media.j3d BranchGroup LineArray GeometryArray Shape3D
> Transform3D TransformGroup BoundingSphere Background)
>         '(javax.vecmath Point3f Vector3f Point3d Color3f)
>         '(com.sun.j3d.utils.universe SimpleUniverse)
>         '(com.sun.j3d.utils.applet MainFrame)
>         '(com.sun.j3d.utils.behaviors.keyboard KeyNavigatorBehavior)
>         '(com.sun.j3d.utils.geometry Text2D)
>         '(java.applet Applet)
>         '(java.awt BorderLayout Font))
>
> Any hints for me? I'm sure it's because I really don't know at all how
> to find out where java things are installed and how to refer to them
> if they're installed in weird places yadda yadda.

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

Reply via email to