Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (562)
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 3937 times)
0 Members and 1 Guest are viewing this topic.
Offline animalxxv

Junior Newbie





« Posted 2009-07-23 16: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 Ninja


Medals: 49



« Reply #1 - Posted 2009-07-23 18: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 10: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!
Legends of Yore - The Casual Retro Roguelike
Offline cylab

JGO Ninja


Medals: 49



« Reply #3 - Posted 2009-07-24 13: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 17:36:31 »

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

JGO Ninja


Medals: 49



« Reply #5 - Posted 2009-07-24 19: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 21: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 10: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.

 

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

The first screenshot will be displayed as a thumbnail.

BurntPizza (22 views)
2014-09-21 02:42:18

BurntPizza (15 views)
2014-09-21 01:30:30

moogie (18 views)
2014-09-21 00:26:15

UprightPath (25 views)
2014-09-20 20:14:06

BurntPizza (28 views)
2014-09-19 03:14:18

Dwinin (43 views)
2014-09-12 09:08:26

Norakomi (73 views)
2014-09-10 13:57:51

TehJavaDev (99 views)
2014-09-10 06:39:09

Tekkerue (49 views)
2014-09-09 02:24:56

mitcheeb (70 views)
2014-09-08 06:06:29
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!