Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java40.jar netscape

59 views
Skip to first unread message

Guy-Armand Kamendje

unread,
Sep 12, 2000, 3:11:15 AM9/12/00
to
I have the following problem. Even though my CLASSPATH is
correct, netscape (Java is active in the preferences) can not find
java40.jar, and is not able to start java
applets. The only copy of java40.jar is locate under
/usr/lib/netscape/java/classes. I symblink it to
/usr/jdk-1.1.6/classes/javar40.jar but it was not enough.
Do anybody have an idea how I can get netscape finding java40.jar?
Thanks for any hint
(I'm running Redhat 6.2 with kde 1.1.2)
Guy-Armand
--
G.A. Kamendje || Tel +43 316 873 55 51
T-U Graz || www.sbox.tu-graz.ac.at/home/g/gaillard/
I.A.I.K ||www.iaik.at/people/gkamendje/gkamendje.html

Steve Bradley

unread,
Sep 12, 2000, 7:51:54 AM9/12/00
to
Guy-Armand Kamendje wrote:

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

Guy-Armand Kamendje

unread,
Sep 12, 2000, 10:38:01 AM9/12/00
to brad...@mediaone.net
Steve Bradley wrote:
>
> Guy-Armand Kamendje wrote:
>
> > I have the following problem. Even though my CLASSPATH is
> > correct, netscape (Java is active in the preferences) can not find
> > java40.jar, and is not able to start java
> > applets. The only copy of java40.jar is locate under
> > /usr/lib/netscape/java/classes. I symblink it to
> > /usr/jdk-1.1.6/classes/javar40.jar but it was not enough.
> > Do anybody have an idea how I can get netscape finding java40.jar?
> > Thanks for any hint
> > (I'm running Redhat 6.2 with kde 1.1.2)
> > Guy-Armand
> > --
> > G.A. Kamendje || Tel +43 316 873 55 51
> > T-U Graz || www.sbox.tu-graz.ac.at/home/g/gaillard/
> > I.A.I.K ||www.iaik.at/people/gkamendje/gkamendje.html
>
> 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)
>

unfortunately it does not work.
Thanks anyway for the hint

Andrew N. McGuire

unread,
Sep 12, 2000, 1:01:04 PM9/12/00
to
On Tue, 12 Sep 2000, Guy-Armand Kamendje quoth:

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()};

Robert Clayton

unread,
Sep 13, 2000, 3:42:09 PM9/13/00
to
What I found is to set two variables;

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

Guy-Armand Kamendje

unread,
Sep 14, 2000, 3:00:00 AM9/14/00
to Andrew N. McGuire
"Andrew N. McGuire" wrote:
>
> On Tue, 12 Sep 2000, Guy-Armand Kamendje quoth:
>
> 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.
Thanks it works! The problem was a setting in my CLASSPATH but now
everything is ok!

Ruehl Christopher

unread,
Sep 17, 2000, 3:00:00 AM9/17/00
to
Im Artikel <39BFD891...@actixusa.net> schrieb Robert Clayton
<rcla...@actixusa.net>:

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 .. :-)


0 new messages