Skip to content

"Unable to access jarfile" under Windows #61

@helmbold

Description

@helmbold

If I unpack the downloaded ki package, add the bin folder to the PATH and try to start it with ki.bat in cmd.exe or PowerShell, I get the following error:

C:\>ki.bat
Error: Unable to access jarfile C:\path\to\ki\bin\\..\lib\ki-shell-*.jar

If I change the the .bat file so that it includes a concrete path instead of a pattern, it works:

@echo off

set SCRIPT_PATH=%~dp0
set KI_SHELL=%SCRIPT_PATH%\..\lib\ki-shell-0.3.2.jar

java -jar %KI_SHELL% %*

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