delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/25/13:08:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 25 Jun 2004 13:06:43 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Old cygwin Versions -or- Elusive Compatability Problem
In-Reply-To: <20040625134502.GC10084@trixie.casa.cgf.cx>
Message-ID: <Pine.GSO.4.58.0406251258250.25974@slinky.cs.nyu.edu>
References: <005301c459e6$1eeec090$5f8401c1 AT elmoii> <Pine DOT GSO DOT 4 DOT 58 DOT 0406240935120 DOT 28578 AT slinky DOT cs DOT nyu DOT edu> <004f01c459f5$05efd5c0$5f8401c1 AT elmoii> <Pine DOT GSO DOT 4 DOT 58 DOT 0406241022060 DOT 28578 AT slinky DOT cs DOT nyu DOT edu> <00ad01c45a9a$3e3ff9a0$7a81869f AT elmoii> <20040625134502 DOT GC10084 AT trixie DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019