> X-Originating-IP: [128.169.250.250]
> Mime-Version: 1.0
> X-OriginalArrivalTime: 07 Feb 2001 05:41:19.0480 (UTC)
FILETIME=[989F2780:01C090C8]
> Date: Wed, 7 Feb 2001 05:41:18 -0000
> From: li wang <[EMAIL PROTECTED]>
> Subject: [JAVA3D] Java3D API and Plug-in
> To: [EMAIL PROTECTED]
>
> I first installed jdk1.2.2_07 on Solaris 5.8(ultra5), secondly installed the
> Java3d jre(not jdk) into the jdk directory. Then Java Plug-in and OpenGL for
> Solaris.
> But I can neither  run any of the java3d sample file on the command line.(
> error such as  javax, vecmath etc. cannot be found), nor run the java3d
> application through the Plug-in. I even included '.' in the CLASSPATH. Also
> I include the four java3d .jar files in the PATH variable. Still it doesn't
> work.  What are two java3d shared libraries? What should I do in order for
> Java3D API to work for the Solaris 5.8? Does display part related to the
> specific graphics cards such as creator/creator3d, elite3d etc..

Make sure you are using the JVM that you installed Java 3D into.  Ensure
that Java 3D was installed into the same JDK as the command"which java"
points to.

To setup Java Plug-In be sure to follow the steps in the README:
Java 3D programs can be run in Netscape Communicator on Solaris
with the Java(TM) Plug-IN (JPI) installed:

   Solaris 8 includes Netscape and the JPI.

   For Solaris 7 users, Netscape Communicator may be downloaded
   for free from http://www.sun.com/solaris/netscape.  Patches
   may be required (see the website for details).

   Netscape Communicator 6.0 automatically includes the JPI.

   Java 1.3 also includes the JPI.  The Control Panel will
   be at ~/j2sdk1.3.0_01/jre/ControlPanel.html.


   If you are using Solaris 7, Java 1.2.2, and Netscape 4.51, 4.7,
   or 4.74, you need to download and install the JPI from
   http://www.sun.com/solaris/netscape/jpis.  NOTE: requires
   membership to the JDC.  More patches may be required
   (see the website for details).  If you install it in
   the default location (/opt/NSCPcom) the control panel
   will be at file:/opt/NSCPcom/j2pi/ControlPanel.html.

 You need to set the NPX_PLUGIN_PATH environment variable
 to the directory containing the JPI.  For example, you you
 are using the JPI from Java 1.3 installed in ~/j2sdk1.3.0_01,
 do 'setenv NPX_PLUGIN_PATH ~/j2sdk1.3.0_01/jre/plugin/sparc'
 before starting Netscape.  The default is /opt/NSCPcom.

 There is a bug in the Solaris JPI 1.2.2 that keeps it
 from finding Java extensions in the lib/ext/ directory
 where they are kept.  If you are not using JPI 1.3, you need to
 copy the four .jar files from the lib/ext/ directory to the
 lib/ directory as follows:

    cd $SDKHOME/jre/lib/ext
    cp j3daudio.jar ..
    cp j3dcore.jar ..
    cp j3dutils.jar ..
    cp vecmath.jar ..

Dan Petersen
Java 3D Team
Sun Microsystems

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to