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)" To: cygwin In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Fri, 30 Jul 2010 16:43:46 -0500 Message-ID: <1280526226.6508.3.camel@YAAKOV04> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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