From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailsrv.cs.umass.edu (mailsrv.cs.umass.edu [128.119.240.136]) by sourceware.org (Postfix) with ESMTPS id 19155386EC43 for ; Wed, 26 Aug 2020 14:35:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 19155386EC43 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.umass.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=moss@cs.umass.edu Received: from [192.168.0.16] (c-24-62-203-86.hsd1.ma.comcast.net [24.62.203.86]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id B6FBC4024983; Wed, 26 Aug 2020 10:35:00 -0400 (EDT) Reply-To: moss@cs.umass.edu Subject: Re: Issue on output when using javac or scalac under emacs To: Eliot Moss , cygwin@cygwin.com References: <71b2831a-710a-688e-a0bd-775b6ed6fd6c@SystematicSw.ab.ca> <5C066282-B6D1-4078-ADF3-00235AD606C6@roc.cs.umass.edu> From: Eliot Moss Message-ID: <731777b4-9ddb-5310-4bb1-8f26f594948d@cs.umass.edu> Date: Wed, 26 Aug 2020 10:35:01 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <5C066282-B6D1-4078-ADF3-00235AD606C6@roc.cs.umass.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 14:35:02 -0000 On 8/25/2020 11:51 PM, Eliot Moss wrote: > 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 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. Apologies for the top-posting. Not sure my phone supports any other way, but if I end up wanting to post from my phone, I will see what I can do! Eliot Moss