Write a shell script to launch netscape, instead of calling it directly.
In the script, you can set your CLASSPATH as needed, including
java40.jar.





[EMAIL PROTECTED] on 01/13/99 06:28:51 AM

To:   [EMAIL PROTECTED]
cc:    (bcc: Russell Pridemore/Lex/Lexmark)
Subject:  How to get Netscape 4 working Swing and JMF Applets?





I am trying to get Netscape to work with Swing and JMF. What is written in
the README file does not work at all.

Java Applet Support:

          Java Applet support is available for all Unix platforms.

          To run Java applets with the Java-enabled version, Communicator
          needs to be able to load Java class files from a file called
          java40.jar.  This file is included in the distribution, and is
          searched for using the following algorithm:

             if($CLASSPATH environment variable is set)
                 Look at $CLASSPATH, where $CLASSPATH is a
                 colon-delimited list of <path>/<jar-file> entries.
             else
                 Search in order:
                     <program directory>
                     $MOZILLA_HOME/java/classes
                     $HOME/.netscape
                     /usr/local/netscape/java/classes
                     /usr/local/lib/netscape


The only way to get Java Applets to work in Netscape 4.5 is to unset
CLASSPATH env variable. How can I then make the browser find the Swing/JFC
and JMF (or any other 3rd party) jar files then ?

Pete




Reply via email to