★ wanayoo — archive 1999 http://java.sun.com/developer/earlyAccess/java3D/directx/java3d-install.htmlNouvelle recherche | Portail wanayoo
Skip Masthead Links developers.sun.com   » search tips  |  Search:     
The Source for Java Developers
Sun Microsystems
 
 
Java 3D[tm] 1.2 Beta API for Direct3D
Java 3D[tm] 1.2 Beta for DirectX Installation Instructions
 

Java 3D 1.2 Install instructions:

  1. Download the appropiate Java 3D runtime executable from the download page on the JDC web site.

    The downloaded objects are InstallShield executables.

    Choose one or both of the following options depending on whether you downloaded the Java 3D Runtime and Examples for the JDK or the Java 3D Runtime for the JRE.

    A. Install the Java 3D Runtime environment and examples for the JDK:

    • Run the executable by double-clicking on the
      java3d-1_2-beta1-win32-directx-jdk.exe

    Java 3D should be installed in the same place as JDK1.2. By default, this should be "c:\jdk1.2.2".

    You may remove the java3d-1_2-beta1-win32-directx-jdk.exe file after you are done extracting it.

      - OR -

    B. Install the Java 3D Runtime environment for the JRE:

    • Run the executable by double-clicking on the
      java3d-1_2-beta1-win32-directx-rt.exe

    Java 3D should be installed in the same place as the JRE. By default, this should be "c:\Program Files\JavaSoft\Jre\1.2".

    You may remove the java3d-1_2-beta1-win32-directx-rt.exe file after you are done extracting it.

    NOTE: The Java2 SDK 1.2 installs Java into both the JDK location (c:\jdk1.2.2 by default) and into the JRE location (C:\Program Files\JavaSoft\Jre\1.2 by default). Additionally, a shortcut to java.exe is installed in the Windows/System directory. Developers need to be aware of this when working with the Java2 1.2 SDK. Unless the path to the 1.2 SDK bin directory is placed in the PATH environment variable ahead of the system directory, the SDK java.exe will not be executed. If any extensions (such as Java 3D) are only installed into the SDK and not the JRE as well, then these extensions will not be found during program execution.

  2. After Java 3D is installed

    Once the release has been extracted, the documentation for Java 3D may be downloaded/extracted.

    Read the README file for instructions on how to do this.

  3. Setting CLASSPATH

    If Java 3D is installed into the JDK or JRE, you do not need to include the Java 3D jar files in your CLASSPATH, nor do you need to include the Java 3D shared libraries in your PATH or LD_LIBRARY_PATH. You should include "." in your CLASSPATH or ensure that CLASSPATH is not set.