On Fri, 25 Jun 2004, Christopher Faylor wrote:

> On Fri, Jun 25, 2004 at 10:52:28AM +0100, Alan Larkin wrote:
> >Adding strace to the command causes errors...
> >
> >$ strace java -Xruncygforrest-0:help
> >Registry key 'Software\JavaSoft\Java Runetime Environment\CurrentVersion'
> >has value '1.4', but '1.5' is required.
> >Error: could not find java.dll
> >Error: could not find Java 2 Runtime Environment.
>
> java isn't a cygwin program is it?  strace is for *cygwin* programs.
True, but, AFAIK, strace will simply return nothing for the apps that
aren't Cygwin-linked.  When Cygwin1.dll is loaded dynamically via
LoadLibrary, strace will kick in, won't it?  At least this happens when a
Cygwin program invokes a non-cygwin program that later invokes a Cygwin
one (e.g., "bash -c 'CMD.EXE /c c:\\cygwin\\bin\\ls'").

I suspect the above error is actually due to a PATH problem of some
sort...
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to