Introduction of Java Programming Language

Java Programming Language 

  • Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. This well-known programming language was developed in 1995. Oracle owns it, and Java is used on over 3 billion devices.

James Gosling (farther of java)

  • Java was originally developed by James Gosling at Sun Microsystems. It was released in May 1995 as a core component of Sun's Java platform. The original and reference implementation Java compilers, virtual machines, and class libraries were originally released by Sun under proprietary licenses.

  • The language was initially called Oak after an oak tree that stood outside Gosling's office. Later the project went by the name Green and was finally renamed Java, from Java coffee, a type of coffee from Indonesia.[23] Gosling designed Java with a C/C++-style syntax that system and application programmers would find familiar.



JVM (Java Virtual Machine)
  • A Java Virtual Machine (JVM) is a virtual machine that allows a computer to run Java programs and other programs written in languages that are compiled to Java bytecode. It acts as an interpreter between the Java programming language and the hardware, and provides a runtime environment for Java applications to run on different platforms and operating systems.
JRE (Java Runtime Environment)
  • The Java Runtime Environment, or JRE, is a software layer that runs on top of a computer's operating system software and provides the class libraries and other resources that a specific Java program requires to run. The JRE is one of three interrelated components for developing and running Java programs.
Java JVM and bytecode
  • Java's design aims for portability, ensuring programs run on any hardware and operating system with adequate run time support. It compiles Java language code to Java bytecode, which is executed by a virtual machine. Standard libraries provide a generic way to access host-specific features (graphics, threading, and networking.).
JDK (Java Development Kit)
  • The Java Development Kit is a distribution of Java technology by Oracle Corporation. It implements the Java Language Specification and the Java Virtual Machine Specification and provides the Standard Edition of the Java Application Programming Interface.
Java SE (Java Standard Edition)
  • Java Platform, Standard Edition (Java SE) is a computing platform for development and deployment of portable code for desktop and server environments. Java SE was formerly known as Java 2 Platform, Standard Edition (J2SE). The platform uses the Java programming language and is part of the Java software-platform family.

Principles of Java Programming Language.

There were five primary goals in creating the Java language:
  • It must be simple, object-oriented, and familiar.
  • It must be robust and secure.
  • It must be architecture-neutral and portable.
  • It must execute with high performance.
  • It must be interpreted, threaded, and dynamic.

Why Use Java?
  • Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.)
  • It is one of the most popular programming languages in the world
  • It has a large demand in the current job market
  • It is easy to learn and simple to use
  • It is open-source and free
  • It is secure, fast and powerful
  • It has huge community support (tens of millions of developers)
  • Java is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs.

A basic example of a "Hello, World!" program that outputs a message to the standard output is as follows:









Comments

Popular posts from this blog

Java Language - Object Generating & Objects / Java classes

Java Standards