Sign in to follow this  
ahung89

help installing java 3d

Recommended Posts

Hey all. I've been working on a new book I got called "Killer Game Programming in Java." Running the examples in this book requires that I install java3d on my computer. I went to the author's website and he listed this link: https://java3d.dev.java.net/binary-builds-pre.html I have Windows Vista and I wasn't sure which of those to download so I chose the one that ends with windows amd64 (since I didn't see anything with vista). I followed the installation instructions outlined here:
Quote:
Windows The 1.5.2 release of the Java 3D API for Windows 2000, Windows XP (x86 or amd64), and Windows Vista runs on JDK version 1.5.0 and higher. To manually install this release, do the following: Download and unzip j3d-1_5_2-XXX.zip (using Windows Explorer or an unzip tool such as WinZip) to a temporary download folder, for example, c:\Downloads. This will create a j3d-1_5_2-XXX subfolder in your download folder where the downloaded files can be found. The file you need for manual installation is j3d-jre.zip. Create a folder for the j3d jar files and native libraries, for example, C:\Users\myhome\j3d, and unzip j3d-jre.zip into this folder. Modify your CLASSPATH environment variable to include the full paths to j3dcore.jar, j3dutils.jar, and vecmath.jar. For example, add the following to your CLASSPATH variable, using the System control panel, Advanced tab, Environment Variables button: .;C:\Users\myhome\j3d\lib\ext\j3dcore.jar;C:\Users\myhome\j3d\lib\ext\j3dutils.jar;C:\Users\myhome\j3d\lib\ext\vecmath.jar Modify your PATH environment variable to contain the full path to the lib\i386 folder (or lib\amd64 for Windows/x64). For example, on 32-bit Windows, add the following to your PATH variable, using the System control panel, Advanced tab, Environment Variables button. C:\Users\myhome\j3d\lib\i386 At this point your Java installation should be able to see the j3d class files. Users of IDEs such as NetBeans and Eclipse should consult the IDE's documentation to see how to add jar files and native libraries to their current project.
The following is what I have in my classpath variable (I double checked and the folder is correct):
Quote:
.;C:\Program Files\Java\jre1.6.0\lib\ext\QTJava.zip;C:\Users\Andrew\Desktop\Programs\j3d\lib\ext\j3dcore.jar;C:\Users\Andrew\Desktop\Programs\j3d\lib\ext\j3dutils.jar;C:\Users\Andrew\Desktop\Programs\j3d\lib\ext\vecmath.jar
The following is what I have in my path variable:
Quote:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\QuickTime\QTSystem;C:\Users\Andrew\Desktop\Programs\j3d\lib\i386
Yet when I try to compile the sample program in DrJava I get 27 various "does not exist" errors for the java3d components. Could somebody help me out with this?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this