Mailinglist Archive: opensuse (2629 mails)

< Previous Next >
[SLE] Netscape: Java Classpath
  • From: sgzijl@xxxxxx (S.G. Zijl)
  • Date: Wed, 10 May 2000 09:06:34 +0200 (CEST)
  • Message-id: <Pine.LNX.4.21.0005100849250.10440-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>



Hello,

I've a problem with Netscape & Java.

/usr/X11R6/bin/Netscape exports the netscape CLASSPATH to
$MOZILLA_HOME/java/classes/*.jar

As soon as I am going to a site using Java, Netscape crashes (shuts
down).

I exported the CLASSPATH as $MOZILLA_HOME/java/classes/java40.jar and
the problem seems to be fixed.

My export:
export CLASSPATH=$CLASSPATH:/opt/netscape/java/classes/java40.jar

My question:
Is there an export problem in the /usr/X11R6/bin/Netscape script?

The part of the script which is taking care of the CLASSPATH export
is in the end of this mail.

Regards,

S.G. Zijl

--
for d in $HOME/.netscape/java/classes \
$HOME/.netscape/java/download \
$HOME/.netscape/java \
$HOME/.netscape
do
test -d $d || continue
if test -n "$CLASSPATH" ; then
CLASSPATH=$CLASSPATH:$d
else
CLASSPATH=$d
fi
done
if test -n "$CLASSPATH" ; then
jars=""
rest=""
for j in $MOZILLA_HOME/java/classes/*.jar ; do
for j in $MOZILLA_HOME/java/classes/*.jar ; do
case "$j" in
*/java[0-9]*.jar) jars=$j ;;
*/*.jar) rest=$rest:$j ;;
esac
done

CLASSPATH=$jars$rest:$MOZILLA_HOME/java/classes:$CLASSP$
export CLASSPATH

--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >
This Thread
  • No further messages