libgdx / libgdx/packr

Packr cannot recognise `jrePath` Temurin JRE and JDK zips for Windows

Open
#220 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.6k
Forks
174
PR merge metrics
No merged PRs in 30d

Description

I tried with JRE and JDK Temurin 11 builds for Windows x64 and x86_64 from here:
https://adoptium.net/temurin/releases/

Packr cannot recogise either JDK or JRE and throws the following error:

> java.io.IOException: Couldn't find JRE in JDK, see '/home/runner/work/buildUnciv/buildUnciv/desktop/packr/tmp'

Example Tests:
https://github.com/touhidurrr/buildUnciv/runs/6430297670?check_suite_focus=true#step:6:170

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the linked CI failure with the Temurin 11 Windows x64 and x86_64 JRE and JDK archives, then trace Packr's jrePath detection around the reported temporary directory. Done means both archive types are recognised and packaging no longer reports that it cannot find a JRE in the JDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, java
Domain
build-system, operating-systems, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.