Install Java 8 JDK on CentOS (single command)

UPDATE April 2019: Oracle now requires you to create an Oracle account to download packages. You will need to make an account on their site, login, download the RPM, upload it to your server and then run the rpm install command. We would host it to make your life easier, but it's not worth being sued by a mega-corporation.

Go to the following Oracle website to download the latest Java JDK:

Click accept beside the version you want, make sure it is the ".rpm" extension file. Then you will need to create or login to an Oracle account (free) to download.

Once you've downloaded the Java RPM, upload it to your server and navigate to the directory it was uploaded, then run "rpm -Uvh jdk*.rpm"

Old article content removed.

  • centos, java, install
  • 40 Users Found This Useful
Was this answer helpful?

Related Articles

Install ownCloud on CentOS 6

We will be setting up ownCloud on a fresh CentOS 6.6 64-bit installation. ownCloud is an open...

Install PPTP / PPP Proxy Server on CentOS 6

PPTP Proxy is an easy to setup proxy server that can be used as an OpenVPN alternative, and many...

Install VNC Server and Desktop on CentOS 6

Install the desktop environment that we will use:yum groupinstall Desktop -yInstall the TigerVNC...

Install Multicraft 2.0 on CentOS 6

Run a Minecraft server? Multicraft is the most commonly used management control panel for...

Setup Teamspeak 3 Server on Linux (CentOS)

If you run a gaming community, a Teamspeak 3 server is probably a popular choice for you to have...

Powered by WHMCompleteSolution