code
code copied to clipboard
Launcher cannot find java on Fedora 39 aarch64
Describe the bug
Had to build the launcher from source for aarch64. When trying to install a modpack, the launcher cannot find Java:
However java is installed on my system per java --version:
openjdk 17.0.9 2023-10-17
OpenJDK Runtime Environment (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9, mixed mode)
Steps to reproduce
- Build from source on aarch64 linux
- Install tauri and dependencies
- Run
cargo tauri dev - Try to install a modpack from searching
Expected behavior
The modpack gets installed.
System information
uname -a:
Linux verdigris 6.6.3-414.asahi.fc39.aarch64+16k #1 SMP PREEMPT_DYNAMIC Sun Mar 24 19:44:17 UTC 2024 aarch64 GNU/Linux
java --version:
openjdk 17.0.9 2023-10-17
OpenJDK Runtime Environment (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9, mixed mode)
KDE about my system:
Additional context
Log when running launcher:
2024-05-09T04:08:33.559308Z ERROR theseus_gui::error: error=Error launching Minecraft: No Java Version found for Java version 17, OS linux, and Architecture aarch64 span_trace= 0: theseus::launcher::install_minecraft
with existing_loading_bar=None repairing=false
at theseus/src/launcher/mod.rs:137
1: theseus::api::profile::create::profile_create
with name="PebbleCraft - Reforged" game_version="1.19.4" modloader=Vanilla loader_version=None icon=None icon_url=None linked_data=None skip_install_profile=None no_watch=None
at theseus/src/api/profile/create.rs:23
Let me know if you need me to test something.