Compile time error(Im New)

I have been trying to get j3d code to work for a while now

Here is my command prompt

C:\Users\Daniel\Desktop\J3DProjrcts>javac AlphaTest.java
Note: AlphaTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

C:\Users\Daniel\Desktop\J3DProjrcts>java AlphaTest
23-Jul-2009 17:08:50 javax.media.j3d.NativePipeline getSupportedOglVendor
SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path
Exception in thread “main” java.lang.UnsatisfiedLinkError: no j3dcore-d3d in jav
a.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at javax.media.j3d.NativePipeline$1.run(NativePipeline.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.NativePipeline.loadLibrary(NativePipeline.java:180)
at javax.media.j3d.NativePipeline.loadLibraries(NativePipeline.java:137)

    at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:948)
    at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:280)
    at javax.media.j3d.Alpha.<clinit>(Alpha.java:1005)
    at AlphaTest.<init>(AlphaTest.java:103)
    at AlphaTest.main(AlphaTest.java:467)

Here is my CLASSPATH

C:\Users\Daniel\jogl-1.1.1-windows-i586\lib\jogl.jar;
C:\Users\Daniel\jogl-1.1.1-windows-i586\lib\gluegen-rt.jar;

C:\Users\Daniel\j3d\lib\ext\j3dcore.jar;
C:\Users\Daniel\j3d\lib\ext\j3dutils.jar;
C:\Users\Daniel\j3d\lib\ext\vecmath.jar;

Here is my Path

C:\Program Files\Java\jdk1.6.0_12\bin;
C:\Users\Daniel\jogl-1.1.1-windows-i586\lib;
C:\Users\myhome\j3d\bin;

Anyone help me?

Make sure to have the jogl and j3d directories in your path that contain the .dll files.

I have the .dll files in the right directories

JOGL works perfectly as far as I know.

Its just J3D playing up

???

Where are the j3dcore-ogl-chk.dll and the j3dcore-d3d.dll in? Is this directory in your path? try a system wide search for j3dcode*.dll.

They are in my C:\Users\Daniel\j3d\bin\

so… ::slight_smile:

hi i dont know about the libs that your using too technical for me but have a look at my .bat file line i use gtge and associated libs

javac -classpath %CLASSPATH%;golden_0_2_3.jar;GTGE_add_ons.jar;jl1.0.jar;GTGE_GUI_0_1_0.jar;. help.java

all the libs are in my class folders with my game classes

this is not in my system path in environment variables try putting the libs you need into a bat file and compiling just a thought

:smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley:

YAY!!!

I still get this message while compling

C:\Users\Daniel\Desktop\J3DProjrcts>javac AlphaTest.java
Note: AlphaTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

But the class runs successfully after that :]

Thanks cylab!!!

Path

C:\Program Files\Java\jdk1.6.0_14\bin;
C:\Users\Daniel\jogl-1.1.1-windows-i586\lib;
C:\Users\Daniel\j3d\bin;

CLASSPATH

C:\Users\Daniel\jogl-1.1.1-windows-i586\lib\jogl.jar;
C:\Users\Daniel\jogl-1.1.1-windows-i586\lib\gluegen-rt.jar;

C:\Users\Daniel\j3d\lib\ext\j3dcore.jar;
C:\Users\Daniel\j3d\lib\ext\j3dutils.jar;
C:\Users\Daniel\j3d\lib\ext\vecmath.jar;