Difference between revisions of "Installation FAQ"

From SpiralKnights

Jump to: navigation, search
m (Installing on Linux: Changed JRE folder from default-jre to default-java.)
m (Troubleshooting java versions)
 
(One intermediate revision by one other user not shown)
Line 15: Line 15:
 
Note: If you install to a place you have write-access to (such as in your home directory, which is the default), you can leave off the 'sudo' part of this command and the launch command.
 
Note: If you install to a place you have write-access to (such as in your home directory, which is the default), you can leave off the 'sudo' part of this command and the launch command.
  
Accept the license agreement and point the installer to the directory containing your java installation. It is recommended to point this to "default-jre" as this is symbolically linked to the JRE listed by default-jre.
+
Accept the license agreement and point the installer to the directory containing your java installation. It is recommended to point this to "default-java" as this is symbolically linked to the JRE listed by default-jre.
  
 
<pre>/usr/lib/jvm/default-java</pre>
 
<pre>/usr/lib/jvm/default-java</pre>
Line 24: Line 24:
  
 
When you initially run it, it will update your game client. Once it's finished patching, it will automatically launch the game.
 
When you initially run it, it will update your game client. Once it's finished patching, it will automatically launch the game.
 +
 +
==Troubleshooting==
 +
You may need a different version of Java installed than what is most recent/pre-installed. Between versions 1.8, 11, 17, and 21, only java-1.8.0-openjdk successfully launched the game (Fedora/Nobara Linux). Multiple java versions can be managed with:
 +
 +
<pre>sudo alternatives --config java</pre>
  
 
==Other links==
 
==Other links==

Latest revision as of 06:17, 25 March 2024

This FAQ covers information about installing Spiral Knights on your computer. See the technical issues FAQ for information on the minimum requirements for running the game.

Installing on Linux

The following instructions are based on the instructions found on Ubuntu Vibes:

Install the default version of java from your distribution's repositories. If you are on a Debian or Ubuntu based distro, open a terminal and run:

sudo apt update
sudo apt install default-jre

Once you register your account on the Spiral Knights website, there will be a download link. Download the file spiral-install.bin and run the following command:

sudo sh (path to spiral-install.bin)

Note: If you install to a place you have write-access to (such as in your home directory, which is the default), you can leave off the 'sudo' part of this command and the launch command.

Accept the license agreement and point the installer to the directory containing your java installation. It is recommended to point this to "default-java" as this is symbolically linked to the JRE listed by default-jre.

/usr/lib/jvm/default-java

Next, enter the path where you would like the game to be installed and hit enter. Once installed, run the following command:

sudo sh (path to the file Spiral in your game installation folder)

When you initially run it, it will update your game client. Once it's finished patching, it will automatically launch the game.

Troubleshooting

You may need a different version of Java installed than what is most recent/pre-installed. Between versions 1.8, 11, 17, and 21, only java-1.8.0-openjdk successfully launched the game (Fedora/Nobara Linux). Multiple java versions can be managed with:

sudo alternatives --config java

Other links

Personal tools