Danny Ayers wrote:
> Thanks (Ernst & Michael) for the replies - I should have included the
> following in my query :
You're welcome.
> mpEDIT is a text editor, very like wordpad, for java, free with source
> from :
> http://members.tripod.com/~mpTOOLS/mpEDIT.html
>
> Thanks (Ernst & Michael) for the replies - I should have included the
> following in my query :
Too much honour. :o)
> the script to run mpEDIT is as follows -
>
> java -classpath src:$CLASSPATH mpTOOLS.mpEDIT.mpEDIT $1 $2 $3 $4
Use $* instead $1 $2 $3 etc.
And why 'src'? This probably does not have anything to do with your
problem, but the java interpreter needs .class files (bytecode), not
source code files. So this mpEDIT program places libraries beneath 'src'?
Weird.
> the dos (.bat) version uses -
> java -classpath src;%CLASSPATH% mpTOOLS.mpEDIT.mpEDIT %1 %2 %3 %4
Then the unix-version should work too, if everything else is the same.
Hmmm. What _is_ your CLASSPATH setting? Use 'echo $CLASSPATH' or 'set |
grep CLASSPATH'
> I'm trying the script under Linux (bash) and I get 'Can't find class
> java.lang.Thread'. The DOS version works straight away, and it's only a
> small file...
> 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/ |
+-----------------------+---------------------------------+