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

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Steve <beforewisdom AT yahoo DOT com>
Subject: Path : Win 2k : Munged Directory
Date: Wed, 23 Apr 2003 15:27:12 -0400
Lines: 28
Message-ID: <b86pdb$im9$1@main.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en

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



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