delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/30/17:43:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-50.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG
X-Spam-Check-By: sourceware.org
Subject: Re: Question on Java and Cygwin
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
To: cygwin <cygwin AT cygwin DOT com>
In-Reply-To: <OF593E7D3D.EA2CD570-ON86257770.00673592-86257770.0067F72A@ni.com>
References: <OF593E7D3D DOT EA2CD570-ON86257770 DOT 00673592-86257770 DOT 0067F72A AT ni DOT com>
Date: Fri, 30 Jul 2010 16:43:46 -0500
Message-ID: <1280526226.6508.3.camel@YAAKOV04>
Mime-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

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.


Yaakov



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

- Raw text -


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