FTB Infinity Evolved 1.7 on Ubuntu 20.04.1 ARM64 - Exec format error

  • 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

MisguidedPufferfish

New Member
Dec 6, 2020
5
0
2
Trying to install FTB Infinity Evolved 1.7 on Ubuntu 20.04.1 ARM64 (Raspberry Pi 4, 4gb ram) and I'm getting "Exec format error".

Code:
./FTBA_unix_202011261605-2be2c6a678-release.sh
No suitable Java Virtual Machine could be found on your system.
Downloading JRE with wget ...
--2020-12-06 16:25:20--  https://apps.modpacks.ch/FTBApp/jres/linux-amd64-11.0.5.tar.gz
Resolving apps.modpacks.ch (apps.modpacks.ch)... 104.26.15.152, 172.67.73.21, 104.26.14.152, ...
Connecting to apps.modpacks.ch (apps.modpacks.ch)|104.26.15.152|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50494482 (48M) [application/x-gzip]
Saving to: ‘jre.tar.gz’

jre.tar.gz                    100%[==============================================>]  48.16M  9.14MB/s    in 5.3s

2020-12-06 16:25:26 (9.01 MB/s) - ‘jre.tar.gz’ saved [50494482/50494482]

Unpacking JRE ...
Starting Installer ...
./FTBA_unix_202011261605-2be2c6a678-release.sh: 681: /home/mc/ftb_ie1.7/FTBA_unix_202011261605-2be2c6a678-release.sh.31267.dir/jre/bin/java: Exec format error

run as both a regular user and root. same error.
 

One Computer Guy

New Member
Jan 31, 2021
3
0
2
The issue is related to the installation of Java in Ubuntu and not to the pack itself. You can install Java separately on Ubuntu through the command line. DigitalOcean has a guide on how to install Java that it's quite complete. Evolved uses Java 8 still so the one you need to install is the version 8u252.

To install it you can run the following command in the console window:

sudo apt install openjdk-8-jre-headless

After the installation is completed, you can verify if the version was correctly installed by running this command in the console:

java -version
 

MisguidedPufferfish

New Member
Dec 6, 2020
5
0
2
does it have to be 8u252?

Code:
java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
 

One Computer Guy

New Member
Jan 31, 2021
3
0
2
Wait, I just saw the file name.
That .sh file was included with the server files? Usually the start script is named ServerStart.sh that provides the following output when you execute the file for the first time:

Code:
$ ./ServerStart.sh
Missing required jars. Running install script!
/usr/bin/wget
--2021-02-01 19:20:45--  https://s3.amazonaws.com/Minecraft.Download/versions/1.7.10/minecraft_server.1.7.10.jar
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.217.111.110
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.217.111.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9605030 (9.2M) [application/octet-stream]
Saving to: ‘minecraft_server.1.7.10.jar’

minecraft_server.1.7.10.jar                          100%[=====================================================================================================================>]   9.16M  5.92MB/s    in 1.5s

2021-02-01 19:20:47 (5.92 MB/s) - ‘minecraft_server.1.7.10.jar’ saved [9605030/9605030]

--2021-02-01 19:20:47--  https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar
Resolving libraries.minecraft.net (libraries.minecraft.net)... 13.225.227.78
Connecting to libraries.minecraft.net (libraries.minecraft.net)|13.225.227.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32999 (32K) [application/java-archive]
Saving to: ‘libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar’

libraries/net/minecraft/launchwrapper/1.12/launchwra 100%[=====================================================================================================================>]  32.23K  --.-KB/s    in 0.01s

2021-02-01 19:20:48 (2.15 MB/s) - ‘libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar’ saved [32999/32999]

Make sure to read eula.txt before playing!
To exit press <enter>


Verify if there's a file with that name or paste the content of that sh file you're executing here so we can take a look. You can export the file content with:

cat filename.sh
 

MisguidedPufferfish

New Member
Dec 6, 2020
5
0
2
It still doesn't think I have the right version of Java...
Code:
mc@ubuntu:~/ftb$ wget https://apps.modpacks.ch/FTBApp/release/202101041428-54016a89dc-release/FTBA_unix_202101041428-54016a89dc-release.sh
--2021-02-09 15:19:20--  https://apps.modpacks.ch/FTBApp/release/202101041428-54016a89dc-release/FTBA_unix_202101041428-54016a89dc-release.sh
Resolving apps.modpacks.ch (apps.modpacks.ch)... 104.22.6.108, 104.22.7.108, 172.67.26.213, ...
Connecting to apps.modpacks.ch (apps.modpacks.ch)|104.22.6.108|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1957647 (1.9M) [application/octet-stream]
Saving to: ‘FTBA_unix_202101041428-54016a89dc-release.sh’

FTBA_unix_202101041428-54016a 100%[==============================================>]   1.87M  7.17MB/s    in 0.3s

2021-02-09 15:19:21 (7.17 MB/s) - ‘FTBA_unix_202101041428-54016a89dc-release.sh’ saved [1957647/1957647]

mc@ubuntu:~/ftb$ ll
total 1.9M
drwxrwxr-x  2 mc mc 4.0K Feb  9 15:19 ./
drwxr-xr-x 21 mc mc 4.0K Feb  9 15:19 ../
-rw-rw-r--  1 mc mc 1.9M Jan  4 07:34 FTBA_unix_202101041428-54016a89dc-release.sh

mc@ubuntu:~/ftb$ chmod +x FTBA_unix_202101041428-54016a89dc-release.sh

mc@ubuntu:~/ftb$ ./FTBA_unix_202101041428-54016a89dc-release.sh
No suitable Java Virtual Machine could be found on your system.
Downloading JRE with wget ...
--2021-02-09 15:20:37--  https://apps.modpacks.ch/FTBApp/jres/linux-amd64-11.0.5.tar.gz
Resolving apps.modpacks.ch (apps.modpacks.ch)... 172.67.26.213, 104.22.7.108, 104.22.6.108, ...
Connecting to apps.modpacks.ch (apps.modpacks.ch)|172.67.26.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50494482 (48M) [application/x-gzip]
Saving to: ‘jre.tar.gz’

jre.tar.gz                    100%[==============================================>]  48.16M  8.59MB/s    in 5.5s

2021-02-09 15:20:43 (8.79 MB/s) - ‘jre.tar.gz’ saved [50494482/50494482]

Unpacking JRE ...
Starting Installer ...
./FTBA_unix_202101041428-54016a89dc-release.sh: 681: /home/mc/ftb/FTBA_unix_202101041428-54016a89dc-release.sh.1161594.dir/jre/bin/java: Exec format error

mc@ubuntu:~/ftb$ java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

This seems to be the problem:
Code:
https://apps.modpacks.ch/FTBApp/jres/linux-amd64-11.0.5.tar.gz

This is not an AMD64 system. It's ARMv8 (64bit):
Code:
uname -a
Linux ubuntu 5.4.0-1028-raspi #31-Ubuntu SMP PREEMPT Wed Jan 20 11:30:45 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
 

One Computer Guy

New Member
Jan 31, 2021
3
0
2
I wouldn't recommend anything from CreeperHost (the apps.modpacks.ch is a domain from CreeperHost), they usually modify their scripts to match their systems. You can download the official server pack from CurseForge here: https://www.curseforge.com/minecraft/modpacks/ftb-infinity-evolved

At the bottom right of that page you will find the server packs under "Minecraft 1.7 Server Packs", pick the version you want and download it, in that pack you will find the correct .sh file that will allow you to run without issue.
 

grandrolf

Global moderator
Team Member
Global Moderator
Trusted User
Aug 29, 2014
2,658
246
133
sweden
I wouldn't recommend anything from CreeperHost (the apps.modpacks.ch is a domain from CreeperHost), they usually modify their scripts to match their systems. You can download the official server pack from CurseForge here: https://www.curseforge.com/minecraft/modpacks/ftb-infinity-evolved

At the bottom right of that page you will find the server packs under "Minecraft 1.7 Server Packs", pick the version you want and download it, in that pack you will find the correct .sh file that will allow you to run without issue.

This statement is wrong!

The official downloads for the server installer is hosted at apps.modpacks.ch - you can check here for reference (check the urls for the downloads):

The packs on curseforge are NOT up to date