Set MOZILLA_HOME to you directory that Netscape is located in. In my
case, the netscape files are in /opt/netscape so what I did was put
MOZILLE_HOME=/opt/netscape
export MOZILLA_HOME
into my .bashprofile. I'm sure there are other places to put it too,
but that was convienent and it worked. Be aware - if you are running
multiple users, you'll need to add that to ALL of their .bashprofile(s)
--
Steve Bradley
brad...@mediaone.net
Registered Linux User#187404
(Register at: http://counter.li.org)
2.4.0-test7,KDE2.0Beta4,XFree86 4.01
unfortunately it does not work.
Thanks anyway for the hint
GK> I have the following problem. Even though my CLASSPATH is
GK> correct, netscape (Java is active in the preferences) can not find
GK> java40.jar, and is not able to start java
GK> applets. The only copy of java40.jar is locate under
GK> /usr/lib/netscape/java/classes. I symblink it to
GK> /usr/jdk-1.1.6/classes/javar40.jar but it was not enough.
GK> Do anybody have an idea how I can get netscape finding java40.jar?
GK> Thanks for any hint
- fire up an xterm
- if CLASSPATH is set, unset it
- set MOZILLA_HOME to the directory where netscape is installed
- netscape &
See if it works that way, if it does adjust your initialization
files approporiately, if not, sorry.
anm
--
BEGIN { $\ = $/; $$_ = $_ for qw~ just another perl hacker ~ }
my $J = sub { return \$just }; my $A = sub { return \$another };
my $P = sub { return \$perl }; my $H = sub { return \$hacker };
print map ucfirst() . " " => ${&$J()}, ${&$A()}, ${&$P()}, ${&$H()};
MOZILLA_HOME=(wherever netscape is, mine is /usr/lib/netscape)
CLASSPATH=${CLASSPATH}:$MOZILLA_HOME/java/classes
I put these in my ~/.bashrc and it has since found java40.jar
Good luck,
RCC
an ease way to make it work:
go to your privat netscape directory -- cd ~/.netscape
type:
ln -s /opt/netscape/java java
ln -s /opt/netscape/plugins plugins
and all the nice thinx will working .. :-)