X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8750D3857C50
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
Subject: Re: Issue on output when using javac or scalac under emacs
To: Luc Henninger <luc.henninger@orange.fr>, cygwin@cygwin.com
References: <254353029.2017595.1598395227754.JavaMail.open-xchange@opme11oxm24aub.bagnolet.francetelecom.fr>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <9d7d9903-5a88-6320-5f0a-f966d3f0e5ce@cs.umass.edu>
Date: Tue, 25 Aug 2020 20:36:12 -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: <254353029.2017595.1598395227754.JavaMail.open-xchange@opme11oxm24aub.bagnolet.francetelecom.fr>
Content-Language: en-US
X-Spam-Status: No, score=-3.9 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: moss@cs.umass.edu
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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

Regards - Eliot Moss
--
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
