Install Java
Table of Contents
Links
🌙 Lab
🗒 Tutorial
Details
Oracle’s Java Platform, Standard Edition ( Java SE) lets you develop and deploy Java applications on desktops and servers.
The Java Platform Standard Edition Development Kit (JDK) includes tools for developing, testing, and monitoring programs written in the Java programming language and running on the Java platform. The JDK offers developers and users a rich user interface and the performance, versatility, portability, and security that today’s applications require.
Beyond these great features, Oracle provides the Oracle JDK free for commercial and production use. When you combine Oracle Java with Oracle’s highly performant, reliable, and cloud-ready operating system, Oracle Linux, you get an ideal environment with out-of-the-box optimizations for Oracle software, excellent for running Oracle Java.
Objectives
In this tutorial, you will learn how to:
- Check for available Oracle Java RPMs
- Install Oracle Java
- Verify the JDK version
- Set the default JDK on a system with multiple versions
- Run a basic Java “Hello World” program
Prerequisites
Minimum of a single Oracle Linux system
Each system should have Oracle Linux installed and configured with:
- A non-root user account with sudo access
- Access to the Internet