player:tutorials:java:linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
player:tutorials:java:linux [2020/07/01 18:29] – created calloatti | player:tutorials:java:linux [2024/06/05 03:48] (current) – Make deprecation notice accessible to screen readers. skycatminepokie | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO Install/ | + | [[https:// |
+ | |||
+ | ====== | ||
+ | |||
+ | You will need Java installed if you want to: | ||
+ | |||
+ | * Run the ' | ||
+ | * Install a Fabric server. [[player: | ||
+ | * Run Minecraft in MultiMC or Prism Launcher | ||
+ | * Run ATLauncher or Technic Launcher | ||
+ | * Change the default “JAVA EXECUTABLE” to other than the bundled Java runtime in a Minecraft Launcher “Installation” | ||
+ | |||
+ | ---- | ||
+ | ===== STEP 1: Verify if Java is already installed ===== | ||
+ | |||
+ | Open a terminal window and execute '' | ||
+ | |||
+ | If it returns with something like this, Java is already installed. | ||
+ | |||
+ | < | ||
+ | saiko@invader ~ % java -version | ||
+ | openjdk version " | ||
+ | OpenJDK Runtime Environment (build 14.0.1-internal+14-adhoc..jdk14u-jdk-14.0.17) | ||
+ | OpenJDK 64-Bit Server VM (build 14.0.1-internal+14-adhoc..jdk14u-jdk-14.0.17, | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | ===== STEP 2: Install Java ===== | ||
+ | |||
+ | Install Java using your distribution' | ||
+ | |||
+ | Convention: commands starting with a ''#'' | ||
+ | |||
+ | ===== Arch Linux ===== | ||
+ | |||
+ | Install the latest JRE with this command: | ||
+ | < | ||
+ | # pacman -S jre-openjdk | ||
+ | </ | ||
+ | |||
+ | If you're only running a server without the need for a graphical environment, | ||
+ | < | ||
+ | # pacman -S jre-openjdk-headless | ||
+ | </ | ||
+ | |||
+ | If you want to also develop mods, you need to install the JDK instead. | ||
+ | < | ||
+ | # pacman -S jdk-openjdk | ||
+ | </ | ||
+ | |||
+ | For more information, | ||
+ | |||
+ | ===== Fedora ===== | ||
+ | |||
+ | Install the JRE for Java 8 with this command: | ||
+ | < | ||
+ | # dnf install java-1.8.0-openjdk | ||
+ | </ | ||
+ | |||
+ | If you're only running a server without the need for a graphical environment, | ||
+ | < | ||
+ | # dnf install java-1.8.0-openjdk-headless | ||
+ | </ | ||
+ | |||
+ | If you want to also develop mods, you need to install the JDK instead. | ||
+ | < | ||
+ | # dnf install java-1.8.0-openjdk-devel | ||
+ | </ | ||
+ | |||
+ | For more information, | ||
+ | |||
+ | ===== Gentoo ===== | ||
+ | |||
+ | Install the latest JRE with this command: | ||
+ | < | ||
+ | # emerge -a jre | ||
+ | </ | ||
+ | |||
+ | If you're only running a server without the need for a graphical environment, | ||
+ | < | ||
+ | # euse -E headless-awt # or manually change make.conf/ | ||
+ | # emerge -a dev-java/ | ||
+ | </ | ||
+ | |||
+ | If you want to also develop mods, you need to install the JDK instead. | ||
+ | < | ||
+ | # emerge -a jdk | ||
+ | </ | ||
+ | |||
+ | For more information, | ||
+ | |||
+ | ===== Void Linux ===== | ||
+ | |||
+ | Install the latest JRE with this command: | ||
+ | < | ||
+ | # xbps-install openjdk-jre | ||
+ | </ | ||
+ | |||
+ | If you want to also develop mods, you need to install the JDK instead. | ||
+ | < | ||
+ | # xbps-install openjdk | ||
+ | </ |
player/tutorials/java/linux.1593628166.txt.gz · Last modified: 2020/07/01 18:29 by calloatti