public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Rakhi Batra - Assistant Manager Publication <rakhi@iba-suk.edu.pk>
To: cygwin@cygwin.com
Subject: Re: Issue in Java path
Date: Wed, 25 Sep 2019 12:09:00 -0000	[thread overview]
Message-ID: <CAAswNsgnTahgM5W-3QJ02GwGKQfhjBaFdFMrCSREuqhE9y+qFg@mail.gmail.com> (raw)
In-Reply-To: <a8376d08-a171-6bc4-d92b-d4bdbfd246d2@SystematicSw.ab.ca>

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.Inglis@systematicsw.ab.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

      reply	other threads:[~2019-09-25  5:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-24 10:39 Rakhi Batra - Assistant Manager Publication
2019-09-24 12:04 ` [cygwin] " Jason Pyeron
2019-09-24 12:48 ` Eliot Moss
2019-09-24 12:50 ` Andrey Repin
2019-09-24 23:08 ` Brian Inglis
2019-09-25 12:09   ` Rakhi Batra - Assistant Manager Publication [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAswNsgnTahgM5W-3QJ02GwGKQfhjBaFdFMrCSREuqhE9y+qFg@mail.gmail.com \
    --to=rakhi@iba-suk.edu.pk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).