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.5.
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. (updated 260 days ago)
To help with installing an SSL certificate for an account on a dedicated server through the WHM (updated 128 days ago)
How to manage the SSL used for cPanel login through the WHM (updated 212 days ago)
Related Help Content
How to install ClamAV to help with virus protection. (updated 2 days ago)
How to install a Minecraft Server. (updated 135 days ago)
How to install NginX for reverse proxy and web performance enhancing. (updated 38 days ago)
How to setup name servers for multiple cPanel accounts. (updated 261 days ago)
How to assign a dedicated IP to a domain on a dedicated server. (updated 81 days ago)
This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache) (updated 94 days ago)
Installing Ventrilo for voice chat on a Bluehost server. (updated 1611 days ago)
Installing TeamSpeak for voice chat on a Bluehost server. (updated 1612 days ago)