Skip to content

Support jar as executable #213

@koppor

Description

@koppor

Currently, gg.cmd does not download a .jar file and executes it with a JDK.

Currently:

c:\Users\olive\bin>.\gg.cmd gh/blazmrak/veles --help
Prep failed: No matching download found for OS: Windows, Arch: X86_64

Expectation: gg.cmd sees that there is only a jar available. Then downloads latest JRE-LTS and executes the jar with that JRE.

grafik

Interestingly, at the first call, gg.cmd seems to try to download Java:

c:\Users\olive\bin>.\gg.cmd gh/blazmrak/veles --help
java 25.0.0   Done [00:00:01] [###############################################################################################] 219.46 MiB/219.46 MiB (0.0s)
Prep failed: No matching download found for OS: Windows, Arch: X86_64

(This is kind of sub-issue of #212)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions