Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launcher cannot find java on Fedora 39 aarch64 #1180

Open
i509VCB opened this issue May 9, 2024 · 0 comments
Open

Launcher cannot find java on Fedora 39 aarch64 #1180

i509VCB opened this issue May 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@i509VCB
Copy link

i509VCB commented May 9, 2024

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

  1. Build from source on aarch64 linux
  2. Install tauri and dependencies
  3. Run cargo tauri dev
  4. 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:
image

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.

@i509VCB i509VCB added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant