Difference between revisions of "Linux"
(→Install OpenJDK 8) |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
=== Switching to OpenJDK8 === | === Switching to OpenJDK8 === | ||
==== Install OpenJDK 8 ==== | ==== Install OpenJDK 8 ==== | ||
− | CentOS / Fedora: sudo dnf install java-1.8.0-openjdk | + | CentOS / Rocky / Redhat / Fedora: sudo dnf install java-1.8.0-openjdk <br> |
− | + | Ubuntu: sudo apt install openjdk-8-jdk <br> | |
− | Arch / Manjaro: sudo pacman -S jdk8-openjdk | + | Arch / Manjaro: sudo pacman -S jdk8-openjdk <br> |
Other distributions may vary, check your distributions docs if not sure | Other distributions may vary, check your distributions docs if not sure | ||
+ | |||
+ | ==== Telling StarMade to use your system's version of Java ==== | ||
+ | Go to options, as shown. | ||
+ | [[File:JavabundleFindJavaBundleStep11.png|thumb]] | ||
+ | Then either use your distribution's documentation to find the java path for OpenJDK 8 <br> <br> | ||
+ | Fedora 35 path: /usr/lib/jvm/jre-1.8.0/bin <br> | ||
+ | Ubuntu 20.04 path: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/ <br> | ||
+ | Arch path: /usr/lib/jvm/java-8-openjdk/bin <br> <br> | ||
+ | Or instead use the browse option to find the Java path. The path should always end in /bin, as this directory contains the java binary that StarMade is looking for. | ||
+ | == Starmade has no audio == | ||
+ | If starmade has no audio, and on start-up says "Sound Initialization Failed", try disabling OpenAL, as like the bundled Java 7 binary, the libopenal64.so is very out of date and very incompatible with modern linux systems, so by disabling OpenAL in your StarMade audio it falls back to a different sound system, which may work on your system. |
Latest revision as of 23:16, 13 January 2022
Contents
StarMade is silently failing to launch on Linux
Often, the Linux StarMade Launcher will silently fail to launch for new users. The most common reason for this happening is that StarMade is attempting to use a very out of date Java 7 binary, which does not work on most modern Linux systems. Switching to a newer version of Java (OpenJDK 8, Oracle Java 8) will most likely fix this issue.
Switching to OpenJDK8
Install OpenJDK 8
CentOS / Rocky / Redhat / Fedora: sudo dnf install java-1.8.0-openjdk
Ubuntu: sudo apt install openjdk-8-jdk
Arch / Manjaro: sudo pacman -S jdk8-openjdk
Other distributions may vary, check your distributions docs if not sure
Telling StarMade to use your system's version of Java
Go to options, as shown.
Then either use your distribution's documentation to find the java path for OpenJDK 8
Fedora 35 path: /usr/lib/jvm/jre-1.8.0/bin
Ubuntu 20.04 path: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/
Arch path: /usr/lib/jvm/java-8-openjdk/bin
Or instead use the browse option to find the Java path. The path should always end in /bin, as this directory contains the java binary that StarMade is looking for.
Starmade has no audio
If starmade has no audio, and on start-up says "Sound Initialization Failed", try disabling OpenAL, as like the bundled Java 7 binary, the libopenal64.so is very out of date and very incompatible with modern linux systems, so by disabling OpenAL in your StarMade audio it falls back to a different sound system, which may work on your system.