Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Compile time error(Im New)  (Read 3334 times)
0 Members and 1 Guest are viewing this topic.
Offline animalxxv

Junior Newbie





« Posted 2009-07-23 18:22:09 »

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?
Offline cylab

JGO Knight


Medals: 30



« Reply #1 - Posted 2009-07-23 20:23:27 »

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

Mathias - I Know What [you] Did Last Summer!
Offline animalxxv

Junior Newbie





« Reply #2 - Posted 2009-07-24 12:49:11 »

I have the .dll files in the right directories

JOGL works perfectly as far as I know.

Its just J3D playing up

 Huh
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline cylab

JGO Knight


Medals: 30



« Reply #3 - Posted 2009-07-24 15:57:55 »

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.

Mathias - I Know What [you] Did Last Summer!
Offline animalxxv

Junior Newbie





« Reply #4 - Posted 2009-07-24 19:36:31 »

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

JGO Knight


Medals: 30



« Reply #5 - Posted 2009-07-24 21:06:15 »

(...)
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\;

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


so...  Roll Eyes

Mathias - I Know What [you] Did Last Summer!
Offline markmistry

Junior Member





« Reply #6 - Posted 2009-07-24 23:10:33 »

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

Junior Newbie





« Reply #7 - Posted 2009-07-25 12:43:12 »

 Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy

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;
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (60 views)
2013-05-17 21:29:12

alaslipknot (69 views)
2013-05-16 21:24:48

gouessej (99 views)
2013-05-16 00:53:38

gouessej (98 views)
2013-05-16 00:17:58

theagentd (107 views)
2013-05-15 15:01:13

theagentd (98 views)
2013-05-15 15:00:54

StreetDoggy (144 views)
2013-05-14 15:56:26

kutucuk (167 views)
2013-05-12 17:10:36

kutucuk (166 views)
2013-05-12 15:36:09

UnluckyDevil (175 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.128 seconds with 21 queries.