This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Old cygwin Versions -or- Elusive Compatability Problem


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/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]