HostMonster 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 12,330 views bookmark tags: dedicated install java server yum (updated 254 days ago)

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

This is a tutorial on how to install Git onto the server. (updated 301 days ago)
Knowledgebase Article 23,037 views tags: dedicated git install server yum

To help with installing an SSL certificate for an account on a dedicated server through the WHM (updated 169 days ago)
Knowledgebase Article 16,929 views tags: assign dedicated reseller server ssl whm

How to manage the SSL used for cPanel login through the WHM (updated 253 days ago)
Knowledgebase Article 20,898 views tags: cpanel dedicated install login manage server ssl

Related Help Content

How to install ClamAV to help with virus protection. (updated 23 days ago)
Knowledgebase Article 16,622 views tags: antivirus clamav cpanel dedicated plugin server whm

How to install a Minecraft Server. (updated 175 days ago)
Knowledgebase Article 17,448 views tags: Minecraft dedicated vps

How to install NginX for reverse proxy and web performance enhancing. (updated 16 days ago)
Knowledgebase Article 18,461 views tags: dedicated nginx proxy reverse vps

How to setup name servers for multiple cPanel accounts. (updated 34 days ago)
Knowledgebase Article 26,775 views tags: accounts custom dedicated multi multiple nameservers server servers

How to assign a dedicated IP to a domain on a dedicated server. (updated 121 days ago)
Knowledgebase Article 23,789 views tags: dedicated ip

This tutorial will help you be able to install the PHP PECL package APC. (Alternative PHP Cache) (updated 135 days ago)
Knowledgebase Article 16,153 views tags: caching dedicated pecl vps

Installing Ventrilo for voice chat on a HostMonster server. (updated 1653 days ago)
Knowledgebase Article 60,454 views tags: install set setup

Installing TeamSpeak for voice chat on a HostMonster server. (updated 1652 days ago)
Knowledgebase Article 58,204 views tags: install