Problem FTB Launcher failing to install on Ubuntu 20.04

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Fanushkah

New Member
Apr 10, 2022
2
1
2
Just recently getting into Ubuntu so bear with me please. I downloaded the .sh file from the FTB app screen, allowed executing file as program, and then ran the command to run the installer. It fails saying "No suitable Java Virtual Machine could be found on your system." and then tries to install the JRE. It unpacks the JRE, starts the installer, and then immediately gives me "./FTBA_unix_202204061044-ef5313e696-release.sh: 683: /home/eli/FTB/FTBA_unix_202204061044-ef5313e696-release.sh.6429.dir/jre/bin/java: not found" and stops the install.

I have Java installed (though I can't seem to find where it is installed) and java -version gives me
Code:
openjdk version "11.0.14.1" 2022-02-08
OpenJDK Runtime Environment (build 11.0.14.1+1-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.14.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

I feel like the problem is with my Java install but I seem to be stuck at the moment. Any help is appreciated, thanks!
 

Attachments

I did follow these steps:
and it gave me the same problem you have
then I fix it by installing jdk.17
Then I switched java version to jdk-17 with this command:
sudo update-alternatives --config java
now it works fine.
First do:
sudo update-alternatives --config java
and you will see what version of java you are using now and switch between them by picking a number while 0=1 and 1=2 and the symbol " * " in the left means the current version you are using.
I'm new too on Ubuntu but I think different java apps need different version? and you need to switch your java version whenever you have a problem with a java app? idk..
I hope that help.
 
You're amazing. Did all of the jre install steps but with jdk 17 and it works. Haven't launched any packs yet but I'll save that for tomorrow. Thanks for the save, I was resigned to just moving over to windows every time I wanted to game but you just gave me one less reason to do so!
My hero <3
 
  • Like
Reactions: kamalsa
I did follow these steps:
and it gave me the same problem you have
then I fix it by installing jdk.17
Then I switched java version to jdk-17 with this command:
sudo update-alternatives --config java
now it works fine.
First do:
sudo update-alternatives --config java
and you will see what version of java you are using now and switch between them by picking a number while 0=1 and 1=2 and the symbol " * " in the left means the current version you are using.
I'm new too on Ubuntu but I think different java apps need different version? and you need to switch your java version whenever you have a problem with a java app? idk..
I hope that help.
I struggled with this myself, and I was able to install it using this method. I already had Java 17 installed alongside another version, and found it wasn't necessary to reconfigure my system, I only had to point 'INSTALL4J_JAVA_HOME_OVERRIDE=' to the Java 17 installation. I'm still on Ubuntu 20.04. Thanks for your help Kamalsa, hopefully others will have an easier time of it.