Hey all!
For I live, I won't understand
Java imports I swear to you guys... I did a full Java reinstall yesterday. After that, my C:/Program Files/Java directory has the following directories in it:
jdk1.6.0_16
jre6
Java3D
My classpath is set to the following at Control Panel / System: .;C:\Program Files\Java\jdk1.6.0_16;C:\Program Files\Java\jre6;
Basic java applications work fine, so no problem with the install there.
Now I tried to load an OBJ file in Java3D. I got all imports, but the on the following one:
import javax.vecmath.Point3D;
eclipse says
cannot be resolved,although vechmath.jar is in the JRE system library.
I checked the Point3D class in the javax.vecmath package, and upon double clicking on it, Eclipse says "
source not found, the source attachment does not contain the source for the file Point3d.class. "
I asked this particular question in another topic already, but since the next problem (described below) is in connection with this one, I thought I'd write it here too.
Now I tried to fire up JOGL and try to load the OBJ file under that. To be on the safe side, I copied the jogl's DLLs ( to almost everywhere, like:
jdk1.6.0_16/bin
jdk1.6.0_16/jre/bin
jre6/bin
... and also copied the JARs to everywhere, like:
jdk1.6.0_16/lib
jdk1.6.0_16/jre/lib
jre6/lib
dlls and jars mentioned here are gluegen-rt.dll, jogl.dll, jogl_awt.dll, jogl_cg.dll, gluegen-rt.jar, jogl.jar .
Now I fire up Eclipse, set everything ship-shape, and the problem is still on.. won't recognize the jogl imports.... Jesus, this drives me crazy.
I attack a screenie of this, maybe it helps:
I hope that someone can help me out on this one.
Thanks for reading.