Posts

Showing posts with the label Basic Java

What Is JDK? End Users, Components, and Configuration Guide

JDK (Java Development Kit) The JDK (Java Development Kit) is a software package required to develop, compile, and run Java applications. It contains all the tools needed by developers and users to work with Java programs. The JDK includes: Java Compiler (javac) Java Runtime Environment (JRE) Java Virtual Machine (JVM) Java libraries and development tools End Users of JDK Software 1. Programmer A programmer needs the JDK to perform the following tasks: Writing Java programs (coding) Compiling Java source code Executing Java applications For these tasks, the programmer must install JDK software, which provides: Java Compiler – used for compilation Java Libraries – used during coding and execution JVM (Java Virtual Machine) – used for program execution Without JDK, a programmer cannot develop Java applications. 2. Client A client (end user) is required to only execute Java applications, not write or compile them. For execution purposes, the client needs: Java Libraries JVM (Java Virtual M...

Java Programming Features Every Beginner Should Know

Features of Java Java is a powerful programming language that provides several important features, making it popular for developing secure and reliable applications. 1. Platform Independent Java is called a platform-independent language because a Java program does not depend on a specific operating system. When a Java program is compiled, it generates a .class file. This file contains intermediate bytecode, not machine-specific code. The .class file can run on any operating system as long as the system has JVM (Java Virtual Machine) installed. This concept is known as “Write Once, Run Anywhere.” 2. Java Compiler The Java compiler (javac) is a program that converts the source code written by a developer into bytecode. The compiler: Takes a .java file as input Converts it into intermediate machine code Stores the output in a .class file This bytecode is platform independent and can be executed on any system with JVM support. 3. Java Virtual Machine (JVM) The JVM (Java Virtual Machine) ...

History of Java Programming Language | Features, Origin & Uses

History of Java Programming Language  Java is a world famous programming language. It is a high-level, object-oriented programming language developed by Sun Microsystems in the early 1990s. Java's development began in 1991 with the goal of creating applications for embedded devices, setup boxes, microwaves, digital cable systems, and web applications. The language was officially released to the public in 1995. Who Created Java Programming? The Java design was led by James Gosling, along with a small team of engineers known as the Green Team. Their original thing was to produce a programming language for consumer electronic  bias  similar as interactive  TV systems. still, the focus  latterly shifted to  erecting a platform-independent language suitable for general- purpose programming.  Origin and Naming of Java Firstly, Java was named Oak, inspired by an oak tree located outside James Gosling’s office. The name was  latterly changed to Java becau...