delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/24/06:39:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=SjddqKNmwf0CnSuDngN0VfujMu7EaGJNqiY9gbfSkFf
4nQVp0cMydf8T4InSJwM5E2tFneG6ouIz6QACm9FouAr9tCupFKKHLXbRV45IwrR
+RnYaYHj7iDZaPtF62h6S4hEY8URP6IuzLT4QKlIeDHwSyaIOG+0Jgw4GXMBd6HA
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=nyIDoJkGyX5Cp+5B1Y2VCWtP6gI=; b=JVmfRcYbSYF+PA1GU
0Z8J0twg2i3jbtI6RXNQEBfYKJGyW3a/ZgGT3kLUEJ5QM3pl015EQLSwauRKUnCy
1ZSZkEeZDw+6WIh0er41ctG+wagc0csVStYYU6p7BhiLCW1g/xGj/GNw3GDaA/io
eR0F/aTxrf4j5lMuBOrcgbogxk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_INFOUSMEBIZ,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=H*F:D*us, CP, cp, HX-Spam-Relays-External:Sendmail
X-HELO: mail1.pdinc.us
DKIM-Filter: OpenDKIM Filter v2.11.0 mail1.pdinc.us x8OAd2fB007829
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default; t=1569321543; bh=3GfaAzUfz39Oa3/Wb3XtM1v4KfH1XZZnyIgZZBqFZWE=; h=From:To:References:In-Reply-To:Subject:Date:From; b=B6tzufPfU5a/5TceN0BT1QNAjaNgpgqDeIpUAPqKvPes5N5AsP289Z8UkitVkiQ2c 2ZGdyFKyOsAAQCUx7X1//hqMxQgec1H4w97Q+RR5WFRj+1FkCENc9WCiYbFW+TOO4X bQntIieiEhTBY8v5GyY5s67U7zVnYeboriDS35Pgi1qhMbYUDoM0rDt8ezl4H7L4G5 mkg2iKKuiCDsYjKH1y8WPwrKmO+fEk8rbAMmF2xb5TxqYI2FF3lR/IvEhchWKYc1Hl qpfQs8h2cPn/wenV9LjrOvjlJ5ti41ymILw9cVhvpKHc7ehK9HiFNMIbF/lIeQnVBx B2hOcO/YwfOEA==
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
References: <CAAswNsgjZtwhLvy8_Z9xTKT=h26s4JUy6QshdkAjpBvynzM8OQ AT mail DOT gmail DOT com>
In-Reply-To: <CAAswNsgjZtwhLvy8_Z9xTKT=h26s4JUy6QshdkAjpBvynzM8OQ@mail.gmail.com>
Subject: RE: [cygwin] Issue in Java path
Date: Tue, 24 Sep 2019 06:39:03 -0400
Message-ID: <05b701d572c4$48af9280$da0eb780$@pdinc.us>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x8OAdeqU029126

> -----Original Message-----
> From: Rakhi Batra - Assistant Manager Publication
> Sent: Tuesday, September 24, 2019 3:38 AM
> 
> Hello,
> I am facing an issue in the path of the file. Whenever I am executing the
> below command. The slashes in classpath are replaced with dots and I am

By dots, do you mean ":" ? Can you please provide a concrete example of the input and output?

> unable to navigate to files in order to run the scripts. Kindly guide why this is
> happening and what is the solution. Thank you.
> 
> (java $JAVA_OPTS -classpath `cygpath -pu $CLASSPATH`

This is a bad idea for at least 2 reasons.

1. the CLASSPATH variable has special meaning and the java executable will act on it if it exists - use $CP or anything else
2. you should "$(...)" not `...`

> org.dspace.app.launcher.ScriptLauncher "$@")
> 
> --
> Regards,
> 
> Rakhi
> 
> --
> 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



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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019