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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=S7WkUAn C18jZV1MgjDaFCq6aM477v6p6m5llWkR0Hu46I6hV6SqPgCilZeqPUXTqh9iTUE4 Kt2+99QSYNYRtnP8GwD7SHd/0xQ0NcS67p6ysnGMzcTGGa0iWVFf05W7XoPvvL7A k6CpjUGmFNAtuDpAVwlxsMGXFtIPCnyAXzZs= 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:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=yoyc9HT04BHfw GuMQoUbCHd8Pto=; b=oSPEZ9kjcPW/CQ3pkI0AJ3h123cjwaMeC7sdPrOSybxvE A7tE5NMD8dGIF+z+UcmoRWPOyuPrcPVH7VxWJHNeyln2TdMolkxn+Yx0V9ALA/Tr L1wfg6ZunDZ/bllDaPuctTOm4KmUSZxmXI+RjrDZAhNjDSZvEKEUrdzN2tXbKo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*c:alternative, kindly, Manager X-HELO: mail-oi1-f175.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iba-suk.edu.pk; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=mYNWSAY5Qn9fYYT44TObJwr4GEVXOvC+kBKwLt2KWis=; b=l3FZsBKjJ4eOabW77a1wxYo+0F9j7FmOi0ye+m2aXD2T7ST/TEokdnm+PZ9IT2tUqc DUXYjef+F+GhyLkqVyJmYbK/zDz1sQgjtSWCY4Uer2bQZErE4yE9BhUTUPlnFzmB6F/7 Tqe0NfFecx5vqC6jNZI2F73s2Lb4SFjbDtt40= MIME-Version: 1.0 References: In-Reply-To: From: Rakhi Batra - Assistant Manager Publication Date: Wed, 25 Sep 2019 10:26:00 +0500 Message-ID: Subject: Re: Issue in Java path To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Thank you so much for the response. It is working fine now. I just replaced `...` with this "$(...)" On Wed, Sep 25, 2019 at 4:05 AM Brian Inglis < Brian DOT Inglis AT systematicsw DOT ab DOT ca> wrote: > On 2019-09-24 01:38, Rakhi Batra - Assistant Manager Publication wrote: > > 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 > > 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` > > org.dspace.app.launcher.ScriptLauncher "$@") > > There is no Cygwin Java, so please just define a Windows env var using > Windows > paths and separators, do not explicitly specify it in the command line, > and run > from a .cmd or .bat to avoid issues and bad assumptions: > > set CLASSPATH=C:\Java\classes\lib.jar;C:\Java\classes\util.jar > java %JAVA_OPTS% org.dspace.app.launcher.ScriptLauncher %1 %2 %3 %4 %5 %6 > %7 %8 %9 > > -- > 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. > > -- > 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 > > -- 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