X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0	tests=AWL,BAYES_00,TW_YG
X-Spam-Check-By: sourceware.org
In-Reply-To: <1280526226.6508.3.camel@YAAKOV04>
References: <OF593E7D3D.EA2CD570-ON86257770.00673592-86257770.0067F72A@ni.com> <1280526226.6508.3.camel@YAAKOV04>
Subject: Re: Question on Java and Cygwin
X-KeepSent: 770E6CD9:D90A7036-86257771:00031117; type=4; flags=0; name=$KeepSent
To: cygwin@cygwin.com
Message-ID: <OF770E6CD9.D90A7036-ON86257771.00031117-86257771.0003228A@ni.com>
From: Ernest Mueller <Ernest.Mueller@ni.com>
Date: Fri, 30 Jul 2010 19:34:14 -0500
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-07-30_07:2010-07-31,2010-07-30,1970-01-01 signatures=0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

cygwin-owner@cygwin.com wrote on 07/30/2010 04:43:46 PM:
> On Fri, 2010-07-30 at 13:55 -0500, Ernest Mueller wrote:
> > We are trying to launch some Java apps from within Cygwin.  The problem
> > we're having is that then Java file IO operations want to use Windows
paths
> > and use \ as the default path separator.  (This is different from
classpath
> > problems or using cygpath to convert stuff you're passing in on the
command
> > line).  We need to override the File.separator (path separator) so that
> > Java will be able to perform many file IO operations (like making a
> > directory).  Anyone have any experience with that?
>
> Cygwin Ports provides a GNU Classpath-based Java environment which is
> mostly compatible with JDK 1.5, along with ant, jdk6-langtools (Sun's
> javac and friends), and a number of Java libraries.  These all take
> *NIX-style paths like all other Cygwin binaries.

Thanks!

Ernest


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

