public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Jason Pyeron" <jpyeron@pdinc.us>
To: <cygwin@cygwin.com>
Subject: RE: [cygwin] Issue in Java path
Date: Tue, 24 Sep 2019 12:04:00 -0000	[thread overview]
Message-ID: <05b701d572c4$48af9280$da0eb780$@pdinc.us> (raw)
In-Reply-To: <CAAswNsgjZtwhLvy8_Z9xTKT=h26s4JUy6QshdkAjpBvynzM8OQ@mail.gmail.com>

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

  reply	other threads:[~2019-09-24 10:39 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 ` Jason Pyeron [this message]
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

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='05b701d572c4$48af9280$da0eb780$@pdinc.us' \
    --to=jpyeron@pdinc.us \
    --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).