1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey there, Guest! Make sure to join our Discord guild here!
Welcome to MCTrades, why not stay a while by registering?

Install Java OpenJDK 8 on Linux BASELINE

Easily Install Java OpenJDK 8 For Free

  1. Jayson
    License:
    Fair Source License 0.9
    java.png Install Java OpenJDK 8 on a Linux Based Operating System

    Java was created by the Oracle Corporation and is used as the programming language for many programs, including Minecraft servers. This guide runs through how to install Java OpenJDK for Linux based operating systems, please consult the documentation provided by Oracle for other operating systems such as MacOS or Windows.

    Confirm The Server's Internet Connection
    Installing programs require an internet connection, verify it using the following command.
    Code:
    ping java.com
    It should respond with some data including the packet loss. Confirm that it is 0%, else your internet connection may be unstable and not suitable.

    Update the Software
    Operating systems by default may not contain the necessary files to properly operate.
    For CentOS, run the following command. Add "sudo" in front if you are not logged in as the root user.
    Code:
    yum update -y
    For Debian and Ubuntu, run the following command. Add "sudo" in front if you are not logged in as the root user.
    Code:
    apt-get update -y
    CentOS Mirror
    CentOS users will have to take an additional step. The following command adds a mirror to your setup. Add "sudo" in front if you are not logged in as the root user.

    Code:
    yum install epel-release -y
    Installing Java
    For CentOS users, run the following command to install Java OpenJDK 8.* . Add "sudo" in front and after the delimiter if not logged in as the root user.
    Code:
    yum install java-1.8.0-openjdk -y; yum update -y
    For Ubuntu and Debian users, run the following command. Add "sudo" in front and after the delimiter if not logged in as the root user.
    Code:
    apt-get install openjdk-8-jdk; apt-get update -y
    Install Complete
    Java should now be installed, check the version and confirm it's installed using the following command.
    Code:
    java -version
    PDF Version Available
    This guide is available for download through the MCTrades resource manager.

    License
    This documentation is licensed under FSL 0.9. Up to unlimited users in a party may freely use this documentation for commercial use along with modify, redistribute, use patent claims, use for private reasons, and place a warranty free of charge. You may not hold liable for this documentation nor sublicense it or use trademarks presented. Including any copyright presented, provide the license, and pay above or equal to the price of this resource is required.