player:tutorials:java:linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
player:tutorials:java:linux [2020/12/19 18:43] – Add instructions for headless JRE for servers 2xsaiko | player:tutorials:java:linux [2024/06/05 03:48] (current) – Make deprecation notice accessible to screen readers. skycatminepokie | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Install/ | + | [[https:// |
+ | |||
+ | ====== Install/ | ||
You will need Java installed if you want to: | You will need Java installed if you want to: | ||
- | * run the current version of the Fabric Installer | + | * Run the ' |
- | * use MultiMC | + | * Install a Fabric server. [[player: |
- | * change | + | * Run Minecraft in MultiMC |
+ | * Run ATLauncher or Technic Launcher | ||
+ | * Change | ||
---- | ---- | ||
- | ==== STEP 1: Verify if Java is already installed ==== | + | ===== STEP 1: Verify if Java is already installed |
Open a terminal window and execute '' | Open a terminal window and execute '' | ||
Line 22: | Line 26: | ||
---- | ---- | ||
- | ==== STEP 2 Install Java ==== | + | ===== STEP 2: Install Java ===== |
Install Java using your distribution' | Install Java using your distribution' | ||
- | ==== Arch Linux ==== | + | Convention: commands starting with a ''#'' |
+ | |||
+ | ===== Arch Linux ===== | ||
Install the latest JRE with this command: | Install the latest JRE with this command: | ||
< | < | ||
- | pacman -S jre-openjdk | + | # pacman -S jre-openjdk |
</ | </ | ||
If you're only running a server without the need for a graphical environment, | If you're only running a server without the need for a graphical environment, | ||
< | < | ||
- | pacman -S jre-openjdk-headless | + | # pacman -S jre-openjdk-headless |
</ | </ | ||
If you want to also develop mods, you need to install the JDK instead. | If you want to also develop mods, you need to install the JDK instead. | ||
< | < | ||
- | pacman -S jdk-openjdk | + | # pacman -S jdk-openjdk |
</ | </ | ||
- | For more information, | + | For more information, |
- | ==== Fedora ==== | + | ===== Fedora |
Install the JRE for Java 8 with this command: | Install the JRE for Java 8 with this command: | ||
< | < | ||
- | sudo dnf install java-1.8.0-openjdk | + | # dnf install java-1.8.0-openjdk |
</ | </ | ||
If you're only running a server without the need for a graphical environment, | If you're only running a server without the need for a graphical environment, | ||
< | < | ||
- | sudo dnf install java-1.8.0-openjdk-headless | + | # dnf install java-1.8.0-openjdk-headless |
</ | </ | ||
If you want to also develop mods, you need to install the JDK instead. | If you want to also develop mods, you need to install the JDK instead. | ||
< | < | ||
- | sudo dnf install java-1.8.0-openjdk-devel | + | # dnf install java-1.8.0-openjdk-devel |
</ | </ | ||
- | For more information, | + | For more information, |
- | ==== Gentoo ==== | + | ===== Gentoo |
Install the latest JRE with this command: | Install the latest JRE with this command: | ||
< | < | ||
- | emerge jre | + | # emerge |
</ | </ | ||
If you're only running a server without the need for a graphical environment, | If you're only running a server without the need for a graphical environment, | ||
< | < | ||
- | euse -E headless-awt # or manually change make.conf/ | + | # euse -E headless-awt # or manually change make.conf/ |
- | emerge | + | # emerge |
</ | </ | ||
If you want to also develop mods, you need to install the JDK instead. | If you want to also develop mods, you need to install the JDK instead. | ||
< | < | ||
- | emerge jdk | + | # emerge |
</ | </ | ||
- | For more information, | + | For more information, |
- | ==== Void Linux ==== | + | ===== Void Linux ===== |
Install the latest JRE with this command: | Install the latest JRE with this command: | ||
< | < | ||
- | xbps-install openjdk-jre | + | # xbps-install openjdk-jre |
</ | </ | ||
If you want to also develop mods, you need to install the JDK instead. | If you want to also develop mods, you need to install the JDK instead. | ||
< | < | ||
- | xbps-install openjdk | + | # xbps-install openjdk |
</ | </ | ||
player/tutorials/java/linux.1608403420.txt.gz · Last modified: 2020/12/19 18:43 by 2xsaiko