Difference between revisions of "Installation FAQ"

From SpiralKnights

Jump to: navigation, search
m (Installing on Linux: Updated the Linux info based on the current release of the game)
m (Troubleshooting java versions)
 
(6 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
The following instructions are based on the instructions found on [http://www.ubuntuvibes.com/2011/03/spiral-knights-new-game-from-makers-of.html Ubuntu Vibes]:
 
The following instructions are based on the instructions found on [http://www.ubuntuvibes.com/2011/03/spiral-knights-new-game-from-makers-of.html Ubuntu Vibes]:
  
Get the latest Java version from the Software Center in Partner Repositories. If you are using Ubuntu 11.04, install Java by running following commands:
+
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:
  
<pre>sudo add-apt-repository ppa:ferramroberto/java
+
<pre>sudo apt update
sudo apt-get update
+
sudo apt install default-jre</pre>
sudo apt-get install sun-java6-jre sun-java6-bin</pre>
+
  
 
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:
 
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:
Line 16: 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. In the next part, you will be asked to enter your correct Java version and path to the Java files. Go to Software Center to take note of the correct Java version Then enter the information into the Spiral Knights installer (Replace the version number i.e. 1.6.0.24 with the Java version you took note of in the Software Center.):
+
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/java-6-sun-1.6.0.24</pre>
+
<pre>/usr/lib/jvm/default-java</pre>
  
 
Next, enter the path where you would like the game to be installed and hit enter. Once installed, run the following command:
 
Next, enter the path where you would like the game to be installed and hit enter. Once installed, run the following command:
Line 25: 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==
 +
 +
*{{es|Installation_FAQ|Preguntas frecuentes de instalación}}
 +
*{{fr|Installation_FAQ}}
  
 
[[Category:Frequently asked questions]]
 
[[Category:Frequently asked questions]]

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