delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/23/16:00:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Path : Win 2k : Munged Directory
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Date: Wed, 23 Apr 2003 15:58:47 -0400
Message-ID: <64AE3D5B518E3648ACC823FBCB0B7375B6CEF1@sr002-2kexc.ateb.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Reid Thompson" <Reid DOT Thompson AT ateb DOT com>
To: <cygwin AT cygwin DOT com>, "Steve" <beforewisdom AT yahoo DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h3NK0Fi20137

I've used something along the lines of

$WS-XP-4960:/home/rthompso> which java
/home/rthompso/bin/java

$cat /home/rthompso/bin/java
#!/bin/bash
CLASSPATH=`cygpath -p -w $CLASSPATH`
/G/j2sdk1.4.0/bin/java.exe -classpath $CLASSPATH $*


There is also, I think, 

reid


> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] 
> Sent: Wednesday, April 23, 2003 3:52 PM
> To: Steve
> Cc: cygwin AT cygwin DOT com
> Subject: Re: Path : Win 2k : Munged Directory
> 
> 
> On Wed, 23 Apr 2003, Steve wrote:
> 
> > Hi;
> >
> > I'm using cygwin on a win2k box.
> >
> > I haven't had any luck executing java from bash.
> > It works from DOS.
> >
> > The java path is C:\JDK\bin
> >
> > It is included in my PATH variable through windows via
> > Start | Control Panel | System | Advanced | Environment Variables
> >
> > All of the directories in my PATH are set from here.
> >
> > When I run "echo $PATH" from bash I noticed that all of those other 
> > directories in my PATH are correctly translated from 
> windows to cygwin 
> > format.  In other words C:\Foo becomes /cygdrive/c/Foo in bash.
> >
> > However C:\JDK\bin remains C:\JDK\bin
> >
> > I'm guessing this has something to do with the problem.
> > Any ideas on how I can fix it?
> >
> > I already tried setting a path variable in my .bashrc to no 
> avail. My 
> > windows PATH variable is set for the entire system.
> >
> > Steve
> 
> Is the "C:\JDK\bin" part quoted in the PATH?  If it is, 
> unquote it, i.e., change '...;"C:\JDK\bin";...' to 
> '...;C:\JDK\bin;...'.
> 	Igor
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> Knowledge is an unending adventure at the edge of uncertainty.
>   -- Leto II
> 
> 
> --
> 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/
> 
> 

--
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