This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Issue in Java path
- From: Rakhi Batra - Assistant Manager Publication <rakhi at iba-suk dot edu dot pk>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Sep 2019 10:26:00 +0500
- Subject: Re: Issue in Java path
- References: <CAAswNsgjZtwhLvy8_Z9xTKT=h26s4JUy6QshdkAjpBvynzM8OQ@mail.gmail.com> <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