This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: [cygwin] Issue in Java path
- From: "Jason Pyeron" <jpyeron at pdinc dot us>
- To: <cygwin at cygwin dot com>
- Date: Tue, 24 Sep 2019 06:39:03 -0400
- Subject: RE: [cygwin] Issue in Java path
- Dkim-filter: OpenDKIM Filter v2.11.0 mail1.pdinc.us x8OAd2fB007829
- References: <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