Issue in Java path

Rakhi Batra - Assistant Manager Publication rakhi@iba-suk.edu.pk
Wed Sep 25 12:09:00 GMT 2019


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



More information about the Cygwin mailing list