Bluehost Web Hosting Help

VPS or Dedicated Hosting - Installing Java

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.

Installing Java

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 yum.

Here is how to install Java,

  1. Open an SSH client and login.
  2. 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.

  3. Press Y and enter.
  4. This will install the Java for you.
Knowledgebase Article 56,062 views bookmark tags: dedicated install java server yum


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

VPS or Dedicated Hosting - Installing Git

This is a tutorial on how to install Git onto the server.

VPS or Dedicated Hosting - Installing an SSL Certificate for a Website

To help with installing an SSL certificate for an account on a dedicated server through the WHM

VPS or Dedicated Hosting - Manage Login SSL Certificates

How to manage the SSL used for cPanel login through the WHM

Related Help Content

VPS or Dedicated Hosting - Install ClamAV

How to install ClamAV to help with virus protection.

VPS or Dedicated Hosting - Install a Minecraft Server

How to install a Minecraft Server.

VPS or Dedicated Hosting - Installing NginX

How to install NginX for reverse proxy and web performance enhancing.

VPS or Dedicated Hosting - Using Multiple cPanel Accounts To Set Custom Nameservers

How to setup name servers for multiple cPanel accounts.

VPS or Dedicated Hosting - Installing PHP APC

This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache)

VPS or Dedicated Hosting - Assigning Dedicated IPs

How to assign a dedicated IP to a domain on a dedicated server.

VPS or Dedicated - Installing and using RoR with Passenger

This article will explain how to use RoR through passenger on a VPS or Dedicated hosting account

VPS or Dedicated Hosting - Modify Exim Port (Mail Transfer Agent)

How to modify the Exim Port (Mail Transfer Agent) in the WHM