Installing Java Development Kit on Ubuntu 18.04

Start by downloading the Oracle JDK 8 archive (jdk-8u301-linux-x64.tar.gz) from the official website. Since Oracle requires authantication, the file is typically fetched on a local machine and transferred to the server via SCP or SFTP. Log into the Ubuntu 18.04 server and place the archive in a temporary location, for example ~/downloads: mkdir ...

Posted on Fri, 18 Sep 2026 16:06:45 +0000 by MastahUK

Setting Up a Java Development Environment and Writing Your First Program

Java Platform Overview Java is a high-level, class-based, object-oriented programming language originally developed by Sun Microsystems in 1995. Following Oracle's acquisition of Sun in 2009, Java development and distribution are now managed by Oracle Corporation. The Java platform comprises three primary editions: Java SE (Standard Edition): ...

Posted on Tue, 15 Sep 2026 16:51:45 +0000 by geo115fr

Deploying Java Web Projects on Linux with JDK, Tomcat, and MySQL Setup

JDK Installation and Environment Configuration Create a target directory for installation packages and transfer the compressed JDK archive into it via the virtual machine's shared folder interface. Verify the upload using: cd javaCloudJun/software pwd ll Edit the system-wide profile to expose the JDK binaries: vim /etc/profile Append these li ...

Posted on Mon, 14 Sep 2026 16:22:12 +0000 by adnanhb

Understanding Annotations in Java

Annotations in Java, introduced in JDK 1.5, serve as a form of metadata, providing declarative information about code elements. Unlike comments, which are for human readers, annotations are intended for the Java compiler or runtime environment. Annotations can be applied to packages, classes, fields, methods, and parameters, offering insights o ...

Posted on Fri, 11 Sep 2026 16:04:07 +0000 by Jakehh

Using JDK Tools for JVM Memory Analysis

Performing JVM memory analysis helps identify and resolve potential issues. By leveraging the built-in tools provided by JDK, you can diagnose possible problems and determine optimization directions. There are several benefits to JVM memory analysis. Memory Leak Detection: A JVM memory leak occurs when objects in an application occupy memory t ...

Posted on Sun, 06 Sep 2026 16:31:29 +0000 by manwhoeatsrats

ArrayList Internal Implementation and Capacity Management

Understanding ArrayList's Core Implementation Analyzing source code effectively requires focusing on specific questions rather than reading sequentially. For ArrayList, a fundamental Java collection class, several key aspects merit examination: How does ArrayList handle capacity expansion when adding elements? What specific implementation deta ...

Posted on Thu, 03 Sep 2026 16:45:52 +0000 by qads

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

Understanding Java JDK, JRE, and JVM Fundamentals

Java Platform Components Overview === JDK, JRE, and JVM Component Definitions JDK (Java Development Kit) Definition: The JDK serves as the comprehensive toolkit for Java developers, providing all necessary tools to create, compile, debug, and execute Java applications. Contents: This kit bundles the Java compiler (javac), Java Runtime Env ...

Posted on Fri, 28 Aug 2026 16:18:29 +0000 by cyberdesi

The Evolution of Java: A Comprehensive Guide to JDK Versions

Java stands as one of the most enduring programming languages. Since the release of JDK 1.0 in 1996, it has evolved significantly over more than two decades, reaching up to JDK 25 today. Throughout this journey, Java has consistently demonstrated its vitality—from the iconic slogan "Write Once, Run Anywhere" to building a robust ecosy ...

Posted on Thu, 27 Aug 2026 16:56:27 +0000 by mikes127

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