Danny Ayers wrote:

> Hi,
> Thanks for all the suggestions relating to CLASSPATH - I though this
> would be a fairly quiet list (Java&Linux = FairlyObscure^2, mail->0),
> not so!

:-) *grin*  &&  *bigsmile*

> I've still got a problem though. When trying to run java mpEDIT (nice
> basic java text editor I downloaded) I get 'Can't find class
> java.lang.Thread'. Now other stuff runs ok, and the lib is there in the
> .zip file. mpEDIT runs ok on a Windows machine.

You're probably doing something like:

   java -classpath thezipfile.zip thepackage.TheClass

you should do something like:

   java -classpath /usr/local/jdk1.1.6v7/lib/classes.zip:thezipfile.zip
thepackage.TheClass
   java -classpath $CLASSPATH:thezipfile.zip thepackage.TheClass

Problem is some versions of the java command cannot find (or do not want
to find, I'm still not sure ;o)  ) where the JDK classes.zip file is
unless it is in the class path. It seems that the windoze version of java
is a bit more intelligent.

> I've seen mention of the green_threads stuff (but nothing relating
> directly to my problem) is this related?
> THanks in advance,
> Danny.
> --
> ~~~~~~~~~~~~~~~~~~~~
> Alternate address :
> [EMAIL PROTECTED]
>
> College Site :
> http://www.highpeak.ac.uk

--
+---------------------------------------------------------+
|  "Come to me all you who are weary and burdened, and I  |
|                  will give you rest."                   |
|                                                         |
|                             -- Jesus Christ (Mt. 11:28) |
+-----------------------+---------------------------------+
| Ernst de Haan         | email [EMAIL PROTECTED]    |
| Java programmer       | web   members.xoom.com/znerd/   |
+-----------------------+---------------------------------+


Reply via email to