Scanner class Methods in Java

What is JDK and its tools

What is JDK?

 The JDK ( Java Development Kit ) is a software package that includes all components to  run java.It sets the java environment in your computer. It contains files and directories that are required to develop Java application.It includes java compiler,debugger,runtime environment and other essential components.

After installing JDK ,several files and folders are created in your C:\programfile\java folder.Lets have a look at the files:

JDK File Structure


These files are of tools that JDK have. .

JDK Tools /Components

  • bin:- It consists of tools and utilities that help to develop,execute,debug and document Java programs.Some of these include javac.exe, java.exe,javadoc.exe and appletviewer.exe.
  • include:- It consists of files that supports native code programming. These files can be used to integrate java with programs written in other languages like C,C++. For example jawet.h,jni.h etc.
  • jre:- It is root directory of the Java runtime environment used by JDK development tools. The runtime environment includes JVM,runtime class libraries and Java application launcher that are necessary to run java programs.
  • lib:- It consists of additional class libraries and support files required by the development tool. For example, htmlconvertor,jconsole etc.
  • demo:- It consists of sample programs with source code that you can study to learn how to use various java features. Some examples includes applets,Java Foundation Classes and the Java Platform Debugger Architecture.
  • src.zip:- This is compressed file contains the source code for the Java API (Application Programming Interface) classes that are included in JDK. If you extract this file src folder is created. The source code in these files help developers learn and use the Java programming language.
  • COPYRIGHT:- This file has copyright information of JDK .
There are many more files in JDK. The tools of JDK are as above. Stay tuned!.


Comments