Question on Java and Cygwin

Jeremy Bopp jeremy@bopp.net
Fri Jul 30 19:33:00 GMT 2010


On 7/30/2010 1:55 PM, 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?

I'm not sure about this, but I think you're having problems handing
filesystem paths between Cygwin and Java processes.  If that's the case,
you should use the cygpath tool included with Cygwin to convert paths
back and forth as necessary.

-Jeremy

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



More information about the Cygwin mailing list