Booklore 1.5.0 now requires Java 25, but helper script still sets JAVA_VERSION="21" #2022

Closed
opened 2025-11-20 05:22:02 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @bmo00 on GitHub (Oct 7, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Booklore

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/booklore.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-3-pve)

📝 Provide a clear and concise description of the issue.

After updating to Booklore version 1.5.0, it seems the application now requires Java 25 instead of Java 21.

🔄 Steps to reproduce the issue.

Execute the update from a version older than 1.5.0.

The included helper script efines:

JAVA_VERSION="21"

Paste the full error output (if available).

FAILURE: Build failed with an exception. *
What went wrong: Could not determine the dependencies of task ':bootJar'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine (Linux 6.14.11-3-pve amd64) matching: {languageVersion=25, vendor=any vendor, implementation=vendor-specific, nativeImageCapable=false}. Toolchain download repositories have not been configured. * Try:
> Learn more about toolchain auto-detection and auto-provisioning at https://docs.gradle.org/9.1.0/userguide/toolchains.html#sec:auto_detection.
> Learn more about toolchain repositories at https://docs.gradle.org/9.1.0/userguide/toolchains.html#sub:download_repositories. > Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org. BUILD FAILED in 9s [ERROR] in line 52: exit code 0: while executing command $STD ./gradlew clean build --no-daemon

🖼️ Additional context (optional).

This causes compatibility issues when trying to update Booklore to 1.5.0 with the provided script.

Suggested fix:

Update the helper script to use:

JAVA_VERSION="25"

With the manual installation of the temurin-25-jdk package, the update works correctly.

Originally created by @bmo00 on GitHub (Oct 7, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Booklore ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/booklore.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-3-pve) ### 📝 Provide a clear and concise description of the issue. After updating to Booklore version 1.5.0, it seems the application now requires Java 25 instead of Java 21. ### 🔄 Steps to reproduce the issue. Execute the `update` from a version older than 1.5.0. The included helper script efines: ``` JAVA_VERSION="21" ``` ### ❌ Paste the full error output (if available). ``` FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':bootJar'. > Could not resolve all dependencies for configuration ':runtimeClasspath'. > Failed to calculate the value of task ':compileJava' property 'javaCompiler'. > Cannot find a Java installation on your machine (Linux 6.14.11-3-pve amd64) matching: {languageVersion=25, vendor=any vendor, implementation=vendor-specific, nativeImageCapable=false}. Toolchain download repositories have not been configured. * Try: > Learn more about toolchain auto-detection and auto-provisioning at https://docs.gradle.org/9.1.0/userguide/toolchains.html#sec:auto_detection. > Learn more about toolchain repositories at https://docs.gradle.org/9.1.0/userguide/toolchains.html#sub:download_repositories. > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to generate a Build Scan (Powered by Develocity). > Get more help at https://help.gradle.org. BUILD FAILED in 9s [ERROR] in line 52: exit code 0: while executing command $STD ./gradlew clean build --no-daemon ``` ### 🖼️ Additional context (optional). This causes compatibility issues when trying to update Booklore to 1.5.0 with the provided script. **Suggested fix:** Update the helper script to use: ``` JAVA_VERSION="25" ``` With the manual installation of the temurin-25-jdk package, the update works correctly.
saavagebueno added the bug label 2025-11-20 05:22:02 -05:00
Author
Owner

@tremor021 commented on GitHub (Oct 7, 2025):

https://github.com/community-scripts/ProxmoxVE/pull/8165

@tremor021 commented on GitHub (Oct 7, 2025): https://github.com/community-scripts/ProxmoxVE/pull/8165
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2022