Java environment :It includes a large number of development tools and hundreds of classes and
methods. The development tools are part of the system known as java development
kit (JDK) and the classes and methods are part of the java standard library (JSL) also
known as the application programming interface (API).
Java development kit (JDK) :-
The java development kit comes with a collection tools that are used for developing
and running java program they included:➢ Applet views :- for viewing java applet
➢ Java c
:- java compile
➢ Java a
:- java interpreter
➢ Java p
:- java disassemble
➢ Java h
:- java c header file
➢ Java doc
:- for creating HTML documents
➢ Java b
:- java debugger
All these tools are available in the “bin” directory of “jdk”
Thus, we can say that “jdk” is the software for which holds all the tools and components
for creating and executing java program. It can in difference version like 1.0, 1.1, 1.2, 2.0,
2.1, 2.8 etc. the latest version of “jdk” is 1.8.0.
❖ Installing JDK :C:\program file\java>
Saving, compiling and running java program :➢ Saving :Since java has no own editor so, its program can be written in any text editors like
notepad, WordPad, dos etc. its program files is saved with main class named having
the extension “.java”. This file is called as source file.
A class in which main method resides is called as main class.
➢ Compiling :-