Path : Win 2k : Munged Directory

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed Apr 23 20:28:00 GMT 2003


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



More information about the Cygwin mailing list