Skip to content

The Kobweb CLI complains that Java is not available even when Java is available #18

@CLOVIS-AI

Description

@CLOVIS-AI

Reproduction via docker:

FROM archlinux:base

RUN pacman -Syuu --noconfirm jre21-openjdk-headless wget tar
WORKDIR /root
RUN wget https://github.com/varabyte/kobweb-cli/releases/download/v0.9.17/kobweb-0.9.17.tar; tar -xvf kobweb-0.9.17.tar; rm *.tar; mv kobweb-* /opt/kobweb
ENV PATH="$PATH:/opt/kobweb/bin"

java -version is available, but running the kobweb fails with:

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

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