Difference between revisions of "Linux"
Line 15: | Line 15: | ||
Arch path: /usr/lib/jvm/java-8-openjdk/bin <br> <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. | 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 sound == | ||
+ | If starmade has no sound, 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. |
Revision as of 23:07, 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
Debian / 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 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 sound
If starmade has no sound, 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.