Larry..

Further to my last message and to the following, I notice that the readme 
file  for Java Applet support says that the script for Java looks in a number 
of places for java40.jar. And in particular  looks for that file in 
$HOME/.netscape, and /usr/local/netscape/java/classes.

Well I know I can get rid of my Netscape error by putting java40.jar in my 
./netscape directory and that should be enough. But I thought I would take 
this a step further, and I removed java40.jar from ./netscape and made up a 
Sym link in /usr/local  (ln -s /opt/netscape) . This also fixes the Netscape 
error  even though I removed java40.jar from my ./netscape directory. I guess 
now that I have the directories needed by the java script, things will work. 
Makes good sense, eh?

Thanks for your comments and direction. They indeed are appreciated..


On Saturday 30 December 2000 13:01, you wrote:
> I've never encountered this problem, but my
> /usr/share/doc/netscape-common-4.76/README file says:
>
> ---------------------------------------
> 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
>
>           If you were running Java with an earlier version of the Netscape
>           Navigator, you need to replace your old moz2_0.car file, moz*.zip
>           file, or java_3* file with the new java40.jar file supplied in
> this distribution.
> ---------------------------------------
>
> So I'm guessing you need the file "java40.jar" in one of the locations
> mentioned in the README file.
>
> The system I'm on right now has this file:
> $ locate java40.jar
> /usr/lib/netscape/java/classes/java40.jar
>
> Do you have the java40.jar file on your system? maybe copying it into your
> ~/.netscape directory will fix your problem?
>
> Or else you could try setting the variable CLASSPATH so it point to the
> right location: CLASSPATH=/path/to/java40/jar; export CLASSPATH
> (then put it in your ~/.bash_profile to make it permenant).
>
> --
> Larry Grover, PhD
> Assoc Prof of Physiology
> Marshall Univ Sch Med
>
> On Sat, 30 Dec 2000 11:14:47 -0400, Ted Gervais <[EMAIL PROTECTED]> wrote:
> > I wonder if anyone can help here. When I am in Netscape and bring up a
> > video clip, I get this error:
> >
> > 'netscape: error'
> > 'Unable to start a java applet. Can't find 'java40.jar' in your
> > CLASSPATH.
> >
> > 'Current value of CLASSPATH:
> >
> > ..and here it lists various path's which no longer exist??
> >
> > How do I amend my CLASSPATHs? I currently have my PATH' s set to point to
> > 'java40.jar' but I still get this netscape error?
> >
> > Where and how do I change the CLASSPATH's ??
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Ted Gervais
Coldbrook, Nova Scotia Canada





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to