Issue on output when using javac or scalac under emacs

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Wed Aug 26 02:50:36 GMT 2020


On 2020-08-25 18:36, Eliot Moss wrote:
> Dear Luc 
> You should be aware that while Cygwin can invoke Java, the Windows Java still
> expects _Windows-style_ arguments, including Windows paths, etc.
> > For example, not a/b/c:d/e but 'a\b\c;d\e" for a path.
> 
> Just because you're using Cygwin, the installed Java is not "magically"
> transported to the Linux world!
> 
> You may also run into issues around line endings (CR/LF vs LF only, and so forth).

Many Windows APIs and programs accept either path separator and in such cases
there are seldom issues as long as the paths are not too long e.g. try:

	$ /proc/cygdrive/c/Windows/System32/icacls path/with/slash/delimiters

and many programs, including editors and terminals, do a good job of adapting to
line endings, including mintty and less.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]


More information about the Cygwin mailing list