Installing JDK on Ubuntu: A Comprehensive Guide

Methods for Installing JDK on Ubuntu There are two primary approaches to installing JDK on Ubuntu: Using the apt package manager Manual installation from downloaded packages The apt method is recommended as it simplifies future updates through apt-get upgrade. Method 1: Installing via apt This section covers both OpenJDK and Oracle JDK instal ...

Posted on Tue, 01 Sep 2026 16:46:29 +0000 by scott532

Setting Up the Environment for JDK Source Code Analysis

Downloading the Source Code The OpenJDK source code can be obtained from its official GitHub repository. For this setup, we use JDK 8's final release, which is available at the specific tag jdk8-b120. After downloading, import the project into IntelliJ IDEA. Build Preparation Required Tools by Platform Different operating systems require distin ...

Posted on Wed, 26 Aug 2026 16:13:16 +0000 by Vikas Jayna

Dockerfile Reference Guide

Dockerfile Commands Overview Dockerfiles are text-based scripts that define how to build Docker images. Below is a comprehensive reference of essential Dockerfile instructions. Core Instructions ARG variable_name[=default_value] # Defines build-time variables accessible via --build-arg during docker build FROM base_image[:tag] [@digest] [AS bu ...

Posted on Thu, 13 Aug 2026 16:45:24 +0000 by watts

Building and Using OpenJDK 12 on Ubuntu WSL

Setting Up Ubuntu WSL Installing WSL and Ubuntu To begin, enable Windows Subsystem for Linux through the Windows Control Panel: Navigate to "Control Panel" → "Programs" → "Turn Windows features on or off" Ensure "Windows Subsystem for Linux" is checked After enabling WSL, install Ubuntu from the Micr ...

Posted on Fri, 03 Jul 2026 17:04:55 +0000 by Jaquio

Automated CI/CD Setup with Jenkins, JDK, Maven, Git, and Docker on CentOS 7

Install OpenJDK 21 Download the JDK binary: wget https://mirrors.huaweicloud.com/openjdk/21/openjdk-21_linux-x64_bin.tar.gz Extract and relocate to /usr/local: sudo tar -xzf openjdk-21_linux-x64_bin.tar.gz -C /usr/local/ ls /usr/local/jdk-21/ Update system-wide environment variables by editing /etc/profile: export JAVA_HOME=/usr/local/jdk-2 ...

Posted on Sat, 13 Jun 2026 17:46:21 +0000 by kirannalla

Setting Up a Java Development Environment on CentOS 7 with OpenJDK

Install OpenJDK Check for any pre-installed Java packages: rpm -qa | grep -E 'java|jdk|gcj' If found, remove them forcefully: rpm -qa | grep java | xargs sudo rpm -e --nodeps List available OpenJDK 8 packages in the yum repository: yum list java-1.8* Install OpenJDK 8: sudo yum install java-1.8.0-openjdk -y Set environment variables by edit ...

Posted on Sat, 09 May 2026 14:14:32 +0000 by fearfx