What is JDK (Java Development Kit)?
The JDK (Java Development Kit) comes with a collection of tools that are used for developing and running Java programs. JDK is required to build and run Java applications and applets.
There are some basic JDK tools :
These tools are the foundation of the Java Development Kit.
java – It’s basically the Java interpreter, which runs java programs by reading & interpreting bytecode files. Once the class file has been created, the java command can be used to run the Java program.
javac – It is the compiler for the Java programming language; it’s used to compile .java file. It creates a class file that can be run by using java command.
javadoc – JavaDoc is an API documentation generator for the Java language, which creates HTML format documentation Java source code.
jar – The jar is (manage Java archive) a package file format that contains class, text, images and sound files for a Java application or applet gathered into a single compressed file.
appletviewer – appletviewer run and debug applets without a web browser, its standalone command-line program to run Java applets.
Below are steps to install Java in Windows:-
Step 1) Go to the link. Click on Download JDK. For java latest version.
Step 2) Next,
1. Accept License Agreement
2. Download latest Java JDK for your version(32 or 64 bit) of java for Windows.
Step 3) Once the download is complete, run the .exe for install JDK. Click Next
Step 4) Select the PATH for Java installation and click next.
Step 5) Once the installation is complete click on the close button.