Issue on output when using javac or scalac under emacs

Eliot Moss moss@roc.cs.umass.edu
Wed Aug 26 03:51:33 GMT 2020


Agreed that / vs \ is sometimes no problem. I do know that Windows Java really wants ; and not : when giving multiple path names ... EM

Sent from my iPhone

> On Aug 25, 2020, at 10:50 PM, Brian Inglis <Brian.Inglis@systematicsw.ab.ca> wrote:
> 
> 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.]
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list