Slipstream mod manager can't find java after installing `brew install openjdk`, what should I do?
Today I freshly installed Bazzite on my computer to try the following tutorial. I was advised here (https://discordapp.com/channels/1072614816579063828/1282667481936298015/1282693482816864319) to install java with this command. I ran
brew install openjdk
, brew install openjdk@21
and brew install openjdk@17
, and followed this tutorial (https://tinyurl.com/FTLmultiverse). At step 24, I got the output shown on the attached screenshot.
I tried brew uninstall openjdk@21
and brew uninstall openjdk@17
if the multiple versions was the issue, but same output.
I tried previously the same on Bazzite (see linked discord thread), and I got through step 24 (and instead got stuck at step 39). What should I do?7 Replies
can you run
java
in a terminal?Yes, outputted a long usage manual.
can you run
command -v java
?Yes, outputted
/home/linuxbrew/.linuxbrew/bin/java
. When inserted into the bottom-left corner start menu and ran, it seemingly loads something (cursor animation shows up) but nothing shows up.I can tell you what the script is attempting to do but not why it's failing
this is the code that deals with finding java
java_cmd=$(command -v java);
This is essentially what I had you run last but assigned to a variable
if [ -n "${java_cmd}" ]; then
This verifies if the variable exists, i.e., is nonzero
that shouldn't be failing but appears to be doing so
maybe it's a permissions thing
as in the script can't reach into /home/linuxbrew
Solution
try running the script manually from the terminal
If it matters, I tried it on Fedora KDE spin and it worked as expected at this step (and instead got stuck at step 39, green play button turns to blue for a few seconds as it would start, and then reverts back to green without opening anything), and on Nobara it worked fully and was able to run the program after some tries, but during (everyday) usage I got frequent and random desktop envoirment restart crashes.
It opened the GUI and worked as expected. I followed the other steps, and got stuck again at step 39. Because this issue is beyond the post's original thing, I'll mark this comment as an answer, thank you for helping!
Do you have recommendations about what to do regarding the non-starting Steam game issue?