Java is a widely used programming language that is used to help with cross-platform compatibility and many internet applications.
You will need to make sure that you have Sudo Access enabled. If you have not enabled sudo access please see Enabling Sudo Access to learn how to do so.
There are many ways to install Java on a dedicated server. This is only going to show how to do it through the use of
Here is how to install Java,
- Open an SSH client and login.
- Then type:
sudo yum install java
This will install Java v.1.8.
To install a newer version of Java, you will want to use the version specific package. e.g.
sudo yum install java-1.7.0-openjdk To make sure you are getting the latest verions you can go to OpenJDK.
- Press Y and enter.
This will install the Java for you.
Recommended Help Content
This is a tutorial on how to install Git onto the server.
VPS and Dedicated servers come with all applications necessary to run a standard web and email server. The applications that come with the VPS and Dedicated servers are generally supported as-is by our support technicians.
If you need to transfer or restore a cPanel account for your VPS or Dedicated server, there is a tool within the WHM panel to perform these tasks. This article is about transferring or restoring from another server or restoring after a re-image.
Related Help Content
To help with installing an SSL certificate for an account on a dedicated server through the WHM
How to manage the SSL used for cPanel login through the WHM
This article will explain how-to enable FTP on a newly provisioned VPS or Dedicated cPanel server. Since FTP is an unsecured connection point to the server, cPanel has it disabled by default in version 11.86 or prior.
How to install a Minecraft Server.
How to install ClamAV to help with virus protection.
VPS and Dedicated customers with servers running the CentOS 6 operating system will not be able to upgrade cPanel past version 86. The cPanel team will still support CentOS 6 with cPanel 86 until March 31st, 2021.
How to install NginX for reverse proxy and web performance enhancing.
This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache)