|
Here is a little text I put together a while ago
to tell some people how to get applets working in Netscape or Internet Explorer.
For either of these to work you will need Java plug-in from Sun. As well, you
will likely need to put all your classes into a *.jar file.
Inclosed are 2 files, one *.doc format, and the
other *.txt. They are the same.
Enjoy, and good luck.
|
This is a general guide to getting Java 3D applets up and running.
The first requirement is Directx 6.x. This must be installed for the Java3D runtime to
function properly. Once installed, the rest of the Java runtime components can be
installed.
The next component is the Java runtime environment. This is commonly referred to as
JRE 1.2.1. This is the latest version, and is available from the Sun website. Make
sure this version of the runtime is installed, as there are a few bugs in previous
releases that were fixed in this implimentation.
Now install the Java 3D *.jar files and the required dll's. These are supposed to be
installed under the directories:
C:\Program Files\JavaSoft\JRE\1.2\lib\ext
iimp.jar
j3daudio.jar
j3dcore.jar
j3dutils.jar
vecmath.jar
Unfortunately, due to a bug with the runtime environment, the system may not find the
files here. As a fix, copy the files up one directory, to C:\Program
Files\JavaSoft\JRE\1.2\lib\ext .
The last step invlves the modification of the .java.policy file under C:\WINDOWS. To
change this file, run the program policytool.exe , under the directory C:\Program
Files\JavaSoft\JRE\1.2\bin .
Select "Add Policy Entry". Select "Add Permission". Select the drop-box, "Permission"
and choose "All Permission". If you don't have a policy file already, save this file
as C:\WINDOWS\.java.policy , else, just save your policy file.
* Note: This is a temporary fix to circumvent the security problem. This however
allows all applets full access to your system. The access can be disabled by clearing
(removing) the permission in the .java.policy file. In the future, you should only
enable the security that you need.
You should now be ready to view web pages containg Java 3D content.
Viewer setup.doc