We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Importing (Read 908 times)
Importing
May 16th, 2005, 12:23am
 
Hi, I´ve been trying to import the javax.vecmath package, but I don´t seem to get it. It complains about classpath. I´ve tried in java-mode too, but no luck. Do I need to import something more?

http://java.sun.com/products/java-media/3D/forDevelopers/j3dapi/javax/vecmath/package-summary.html

I use 0090 bundled with Java.

-- Hugo
Re: Importing
Reply #1 - May 16th, 2005, 2:41am
 
java3d is a whole separate library from sun that you have to install separately.

so first download and install it, then find out what .jar file contains the javax.vecmath stuff (open the .jar files installed by java3d in winzip or something like that).

once you've done that, add that .jar file to a folder called "code" inside your sketch, and you can use "import javax.vecmath.*;" in your sketch.
Re: Importing
Reply #2 - May 16th, 2005, 12:31pm
 
It got it working now! Thank you!
Page Index Toggle Pages: 1