This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Question on Java and Cygwin
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