Issue in Java path

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Tue Sep 24 23:08:00 GMT 2019


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /