JDK – Shishir Kant Singh https://shishirkant.com Jada Sir जाड़ा सर :) Fri, 29 May 2020 08:48:35 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 https://shishirkant.com/wp-content/uploads/2020/05/cropped-shishir-32x32.jpg JDK – Shishir Kant Singh https://shishirkant.com 32 32 187312365 Difference between JDK, JRE, JVM https://shishirkant.com/difference-between-jdk-jre-jvm/?utm_source=rss&utm_medium=rss&utm_campaign=difference-between-jdk-jre-jvm Fri, 29 May 2020 08:48:31 +0000 http://shishirkant.com/?p=1264 We must understand the basic difference between the JDK, JRE, and JVM before diving deep into Java.

Difference between JDK JRE JVM
JDKJREJVM
JDK stands for Java Development Kit. It provides development tools and execution environment. JRE stands for Java Runtime Environment. It provides the set of tools only to execute our program.JVM stands for Java Virtual Machine. It is responsible for the program to execute line by line.
JDK is the superset of the JRE. It contains JRE with Java compiler, debugger, and core classes.JRE contains a set of libraries and other files that JVM uses at runtime.It contains JIT (Just in Time Compiler), interpreter, and set of APIs. JIT optimizes bytecode to machine specific language compilation by compiling similar bytecodes.
Uses JVM, interpreter/loader, a compiler, an archiver, a documentation generator (Javadoc), and set of APIs to complete the development of Java application.Uses a set of libraries, other jar files, and set of API to run the program. It doesn’t play any role during development. It only works to run the program.JVM works to Load code, Verifies code, and Execute code and provides a runtime environment.
It physically exitsIt physically exitsIt doesn’t physically exist.
]]>
1264
Java Development Kit (JDK) https://shishirkant.com/java-development-kit-jdk/?utm_source=rss&utm_medium=rss&utm_campaign=java-development-kit-jdk Fri, 29 May 2020 08:34:32 +0000 http://shishirkant.com/?p=1257 Java Development Kit (JDK)

The Java Development Kit is a software development environment used to create Java applications. The JDK includes JRE (Java Runtime Environment), an interpreter (java), a compiler (javac), an archiver, a documentation generator, and other tools needed for java application development.

JDK

Oracle Corporation is releasing the platform in the form of a binary product aimed at Java developers on Solaris, Linux, Windows or macOS.

JDK 1

JDK is the implementation of any one of the following Java Platforms, released by Oracle corporation:

  • Standard Edition Java Platform
  • Enterprise Edition Java Platform
  • Micro Edition Java Platform

Components integrated with JDK are:

appletviewerThe tool can be used to execute and debug Java applets without a web browser.
extcheckIt is a component that detects JAR file conflicts.
javaIt is the loader for Java applications.This tool is an interpreter and can translate the class files generated by the javac compiler. After the introduction of this utility, a single launcher is used for both development and deployment.
javacIt is the Java compiler, which converts source code into Java bytecode.  
javadocIt is a documentation generator, which automatically generates documentation from source code comments.
jarIt is the archiver, which packages related class libraries into a single JAR file.
apt:It is an annotation –processing tool.
idljIt is the acronym for the IDL-to-Java compiler. This utility of JDK generates Java bindings from a given Java IDL file.
jabswitchIt is the Java Access bridge. It opened assistive technologies on Microsoft Windows systems.
javafxpackagerA tool to package and sign JavaFX application
jarsignerA jar signing and verification tool.
javahIt is a C header and stub generator which is used to write native methods.
javapA class file disassembler.
javawsIt is a Java Web Start launcher that can be used by the JNLP application.
jConsoleJava Monitoring and Management Console
jdb  It is a debugger that is used to test and debug the programs.
jhatAcronym for Java Heap Analysis Tool, it is an experimental utility not yet published publicly.
jinfoThe utility gets configuration information from a running Java process or crashed dump but it is an experimental component of JDK.
jmap Oracle-jmap MemoryMapThe components return the memory map and can print the shared object memory map or heap memory detail of a given process/core dump. (experimental)
jmcJava Mission Control, allows Java administrators and developers to gather detailed low level information about how the Java Virtual Machine (JVM) and the Java application are behaving.
jpsJava Virtual Machine Process Status Tool which lists the instrumented HotSpot Java Virtual Machines (JVMs) on the target system. (experimental)
jrunscriptJava command-line script shell. That enables the programmer to access the operating system’s services.
jshellThe new jshell introduced in java 9.
jstackThe component that prints Java Stack traces (a report of the active stack frames at a certain point of time when the program being executed) of Java threads (experimental)
jstatJava Virtual Machine statistics monitoring tool (experimental)
jstatdjstat daemon (experimental)
KeytoolA tool for manipulating the keystore (a repository of security certificates- either authorization certificates or public key certificates).
Pack200 JAR compression tool which can be used to reduce the size of the jar file.
policytoolIt is the policy creation and management tool, which determines the policy for a Java runtime and specify that which permissions are available for code from various sources.
VisualVM It is a visual tool that integrates several Command-Line JDK tools, lightweightperformance and memory profiling capabilities.
wsimportIt generates portable JAX-WS (Java API for XML Web services) artifacts for invoking a web service.
xjcThe component is part of the Java API for XML Binding (JAXB) API which accepts an XML schema and generates Java classes.
]]>
1257