This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on Java and Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]