Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Viet Le Anh
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Stuart Page wrote:For some reason I can get the Java3d tutorial to work only if i put all the necessary packages in the same folder as my code
Why the heck does it not just work due to the fact that i have .;\. in the classpath? This should automatically check all the files in the current folder shouldnt it?
Unnsse Khan wrote:Patrick,
I had the same problem, last night with the Java 3D API. However, I fixed the problem...
Uninstall your Java 3D API from start/control panel/add-remove programs
Uninstall your JRE and JDK in the same fashion...
In these steps:
1. Re-install your JDK.
2. Re-install your JRE.
3. Set CLASSPATH user environment variable in System/Properties to:
CLASSPATH = .;c:jdk1.3.1_02\jre\lib\rt.jar;jdk1.3.1_02\lib\tools.jar;%CLASSPATH%
4. Make a JAVA_HOME user environment variable and set it to:
JAVA_HOME = .;c:\jdk1.3.1_02;%JAVA_HOME%
5. Install the Java 3D API.
Now, while the Java 3D API installer is running, its going to ask you which JVMs to add the JAR files to, (it should have located and displayed the path to the JDK and the path to the JRE), select both, and hit "FINISH" or "NEXT".
6. Insert the c:\jdk1.3.1_02\bin to the PATH user environment variable...
7. Restart your computer....
9. Click on the "Basic" tab in your Java Plug-in's settings in control panel and type mx64m in the empty Java Runtime Parameters box.
10. Click on the "Advanced" tab and choose Java Plug-in Default.
11. Boot Netscape or Internet Explorer and open the index file in the c:\jdk1.3.1_02\demo\java3d\index.html directory.
If you can see the applets in boot, you'll know you did it correctly...
Good luck,
Unnsse M. Khan
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |