Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Unquoted %JAVACMD% in Windows script crashes at runtime if %JAVACMD% contains whitespaces #114

@sebjulliand

Description

@sebjulliand

Here in the Windows script, %JAVACMD% is unquoted:

%JAVACMD% %JAVA_OPTS%  -classpath %CLASSPATH% -Dapp.name="skipper" -Dapp.repo="%REPO%" -Dapp.home="%BASEDIR%" -Dbasedir="%BASEDIR%" com.arcadsoftware.skipper.cli.SkipperCLI %CMD_LINE_ARGS%
if %ERRORLEVEL% NEQ 0 goto error
goto end

It causes the script to crash if %JAVACMD% contains whitespaces. E.g.: C:\Program Files\Java\jdk8u252-b09\bin\java.exe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions