[3889] in java-interest

home help back first fref pref prev next nref lref last post

Re: NetScape CLASSPATH variable

daemon@ATHENA.MIT.EDU (James Waldrop)
Thu Nov 30 21:43:54 1995

To: "R. Mark Volkmann" <m224873@svmstr01.mdc.com>
Cc: fabio.poroli@swiss.Sun.COM, java-interest@java.Eng.Sun.COM
In-Reply-To: Your message of "Thu, 30 Nov 1995 12:47:36 CST."
             <199511301847.KAA22558@mercury.Sun.COM> 
Date: Thu, 30 Nov 1995 14:05:26 -0800
From: James Waldrop <sulam@construct.net>


>> "Unable to start a java applet: Can't find 'moz2_0.car' in your CLASSPATH.
>>  Read the release notes and install 'moz2_0.car'properly before restarting.
>>  Current Value of CLASSPATH:
>>  ~/JAVA/java/classes:moz2_0.car:.:classes:/usr/local/netscape/java/classes/m
>oz2_0.car:~/.netscape/moz2_0.car"
>>
>>  "VERIFIER ERROR java/lag/ThreadGroup.Suspend()V: Illegal use of nonvirtual 
>function call".
>>
>>My CLASSPATH variable is set only to ~/JAVA/java/classes.
>>Can somebody help me ?
>
>I see a theme developing here.  These kinds of questions are asked several
>times daily and they never get answered.  Is this information on a web page
>somewhere and us beginners are just missing it?  I am surprised that Sun
>doesn't jump in and set us straight before we get discouraged and just stop
>trying.  Would things be a lot better if we stop trying to get Netscape to
>work for now and just use HotJava?

I'm not sure if I'm qualified to answer this question, and I know I'm
not qualified to speak about Sun or their time commitments, but I do
have a few pieces of advice:

* The Netscape Java implementation is still far from "there."  It's pretty
  much like pulling teeth to get something working well.

* That said, set your CLASSPATH to something like the following, which
  works for me:

  /usr/local/netscape/java/classes/moz2_0.car:/usr/local/java/classes

  The critical feature here is that the class path is pointing directly
  to the moz2_0.car.  This will break javac and other JDK tools, but it's
  what you need for Netscape to work right now.  This requirement will
  undoubtedly go away in some future release of Netscape 2.0.


Also, I would hasten to point out that both the JDK and Netscape 2.0
are still beta products.  Last I checked, there weren't any
committments made regarding support for either product.  This CLASSPATH
question, or variants thereof, seem to get asked here repeatedly.  It
took some minor investigation for me to figure out what was going on,
and I'm sure that many of the people who receive these messages have
better things to do with their time than answering questions that some
minor exploration would quickly reveal the answer to.

I could have summarized all of this with RTFM, if only there were a
good M to point people to.  I haven't noticed a Java FAQ, so the best
I can do is point to http://java.sun.com/doc.html.

James
--
James Waldrop                          /          Technical Director
sulam@construct.net                /              Construct Internet Design
sulam@well.com                 /                  http://www.construct.net
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post