Java Introduction
Java Introduction
Java is a object oriented programming language, similar to C++ High Level language and architecture neutral
developed and released by sun microsystem in 1995 and later acquired by Oracle Corporation.
James Gosling is known as the father of java, its name was OAK. Since oak was already a registered company so James
Gosling as his team changed the OAK to JAVA.
Java Was Originally called OAK. Java is a computing platform for application development.
Java is platform Independent that means java can run on any hardware r software environment in which a program
runs. Since java has a runtime environment (JRE) and API, it is called a platform Independent.
Java Team members known as Green Team, initiated this project to develop a language for digital devices such as set-
up box, television etc. However, it is suited for internet programming. Later, Java Technology was incorporated by
Netscape.
James Gosling, Mike Sheridan and Patrick Naughton, Bill Joy initiated the java language project in June 1991 and then
sun microsystem released the first public implementation as java 1.0 in 1995, and it promised Write Once, Run
Anywhere providing no cost run times on popular platforms.
On 13 November, 2006 Sun Microsystem released java as free and open-source software under the terms GNU
General Public License (GPU).
Source code of java program is converting to bytecode (file with a .class extension) by the java compiler which in turn
is converted to machine code by the java interpreter. Java interpreters and runtime environments, known as java
Virtual Machine (VMs). Bytecode can also be converted directly into machine language instructions by just-in-time
compiler (JIT).
Java Code does not support the use of pointer. It automatically manages memory garbage-collection routine activated
when the system run short of memory.
Java provides the most secure programming environment java doesn’t just fix secure loopholes -it eliminates them,
which make java the perfect language for programming on the web.
Java Features
The primary objective of java programming language creation was to make it possible, simple and secure
programming language. Apart this, there also some excellent features which play an important role in the popularity
of this language.
If you are saving the Java source file inside the JDK/bin directory, the path is not required to be set because all the
tools will be available in the current directory.
✓ Temporary
To set the temporary path of JDK, you need to follow the following steps:
1. Open the command prompt
2. Copy the path of the JDK/bin directory
3. Write in command prompt: set path=copied path
For Example:
set path=C:\Program Files\Java\jdk1.6.0_23\bin
✓ Permanent
For setting the permanent path of JDK, you need to follow these steps:
• Right-click on 'My Computer' and select 'Properties'.
• Click the 'Environment variables' button under the 'Advanced' tab.
• Now, alter the 'Path' variable so that it also contains the path to the Java executable.
Example, c:\Program Files\java\jdk\bin'.