All contents are by Anonyo Sanyal. Computer Metanoia supports Free education. Computer Metanoia is trying to put up Cancer Awareness among people.
About Computer Metanoia
Get link
Facebook
X
Pinterest
Email
Other Apps
About us
All the contents are written and maintained by Anonyo Sanyal. I support free quality education. All contents are verified and are believed to be true. You can bank on it.
Difference between JRE, JVM, and JDK By Jhumki Barat
Now, this article lays a foundation to learn the internals of a JVM. To do that first we need to understand JRE, JVM and JDK and their differences. Once you are done click here to learn the internal details of JVM
JVM:- Firstly JVM stands for Java Virtual Machine. Secondly, JVM is an abstract machine i.e. it doesn't exist in reality. It is just an abstract concept. It is the detailed description of the design and materials which provides a runtime environment to run the java bytecode. Funny fact, we all know java is a platform independent programming language. But do you know that JVM, JRE, and JDK are platform dependent? The reason is pretty clear. we said that JVM gives a specification (detailed description of the design and materials) for the runtime environment to run the java bytecode. But the specification changes from one Operating System to another. Now to make Java a platform-independent programming language this step had to be taken. Otherwise, say for example JRE, JVM and JDK were built only for Linux systems. Then windows user could never run a java application. Then, in that case, Java would not be platform independent. Now coming back to JVM, it's main four functions are:- Loads code Verifies code executes code Provides runtime environment
JRE:- JRE stands for Java Runtime Environment. It is sometimes also called Java RTE. It is basically an implementation of JVM. Unlike JVM it physically exists. The Java Runtime Environment is a set of software tools that are extensively used to make Java Applications of various types. It is mainly used to provide the running environment commonly known as runtime environment.JRE consists of JVM, some libraries and some external miscellaneous files that are needed by the JVM to run the application. The schematic block diagram of JRE is given below.
JRE schematic block diagram JRE is released by Sun Microsystems JDK:- JDK is short for Java Development Kit. JDK is a software development environment which is used to make various java applications. JDK is basically development tools added on to JRE. JDK is the implementation of either of the following platforms released by Oracle Corporation. SE(Standard Edition) Java Platform EE(Enterprise Edition) Java Platform ME(Micro Edition) Java Platform The scheme of JDK is given below.
Scheme of JDK Thus we can conclude that JVM is the heart of everything. Therefore it is important to learn the details of JVM.
Artificial Intelligence-The Exact Definition By ANONYO SANYAL Artificial Intelligence(AI) has been hot for around past a few years now, but the concept was familiarized by Alan Turing in the year 1950. In one of his papers called "Computing Machinery and Intelligence," he first introduced the concept of AI indirectly. He mentioned a test famously known as "The Turing Test" where he discussed how to assess the intelligence of a machine. Before we go into the details of Turing test let us first talk about AI as a whole. AI- The Definition AI can be defined in various ways. Basically, if we say in a nutshell, AI is simply ' mimicking ' the human intelligence by some machine. But this mimicking can be done in four broad ways v.i.z. Machines who think like humans. Machines who think rationally. Machines who act like humans. Machines who act rationally. These are the four ways how Peter Norvig and Stuart J. Russell has classified AI
Different Addressing Modes ~By Anonyo Sanyal The operation field of an instruction specifies the operation to be performed. This operation must be executed on some data stored in computer registers or memory words. The way the operands are chosen during program execution is dependent on the addressing mode of the instruction. The addressing mode specifies a rule for interpreting or modifying the address field of the instruction before the operand is actually referenced. Computers use addressing mode techniques for the purpose of accommodating one or both of the following provisions: 1. To give programming versatility to the user by providing such facilities as pointers to memory, counters for loop control, indexing of data, and program relocation. 2. To reduce the number of bits in the addressing field of the instruction. In simpler words, it can be compared to the addressing of a particular location on earth. Just like we have different ways to reach a particular addres
The Mystery of Java Program Execution By ANONYO SANYAL Now, this blog is in JAVA programming language, probably the most used programming language in real life scenarios. Java is an Object Oriented Programming Language which makes it perfect for the development of applications. It finds it's application in small music players to the android application that you run in your smartphones. To know more about Java please go through these . You might know very well the hello world program in java. If not, it is given below. class Simple{ public static void main(String args[]){ System.out.println("Hello World"); } } The output of this code is the message "Hello World". Now the question is how the heck is it executed. What happens when we compile the code? During compilation, the code is fed to the compiler which converts the code into instructions which the computer can understand. In Java, the machine code is known as Bytecode. Now here w
Difference between JRE, JVM, and JDK
ReplyDeleteBy Jhumki Barat
Now, this article lays a foundation to learn the internals of a JVM. To do that first we need to understand JRE, JVM and JDK and their differences. Once you are done click here to learn the internal details of JVM
JVM:-
Firstly JVM stands for Java Virtual Machine. Secondly, JVM is an abstract machine i.e. it doesn't exist in reality. It is just an abstract concept. It is the detailed description of the design and materials which provides a runtime environment to run the java bytecode.
Funny fact, we all know java is a platform independent programming language. But do you know that JVM, JRE, and JDK are platform dependent? The reason is pretty clear. we said that JVM gives a specification (detailed description of the design and materials) for the runtime environment to run the java bytecode. But the specification changes from one Operating System to another. Now to make Java a platform-independent programming language this step had to be taken. Otherwise, say for example JRE, JVM and JDK were built only for Linux systems. Then windows user could never run a java application. Then, in that case, Java would not be platform independent.
Now coming back to JVM, it's main four functions are:-
Loads code
Verifies code
executes code
Provides runtime environment
JRE:-
JRE stands for Java Runtime Environment. It is sometimes also called Java RTE. It is basically an implementation of JVM. Unlike JVM it physically exists.
The Java Runtime Environment is a set of software tools that are extensively used to make Java Applications of various types. It is mainly used to provide the running environment commonly known as runtime environment.JRE consists of JVM, some libraries and some external miscellaneous files that are needed by the JVM to run the application. The schematic block diagram of JRE is given below.
JRE schematic block diagram
JRE is released by Sun Microsystems
JDK:-
JDK is short for Java Development Kit. JDK is a software development environment which is used to make various java applications. JDK is basically development tools added on to JRE.
JDK is the implementation of either of the following platforms released by Oracle Corporation.
SE(Standard Edition) Java Platform
EE(Enterprise Edition) Java Platform
ME(Micro Edition) Java Platform
The scheme of JDK is given below.
Scheme of JDK
Thus we can conclude that JVM is the heart of everything. Therefore it is important to learn the details of JVM.