Java Runtime Environment (JRE): It is a software package that provides the minimum set of tools and libraries required to run Java applications, including the JVM and a set of core libraries and APIs. Java Virtual Machine (JVM): It is an abstract machine that provides a consistent runtime environment for Java programs to execute, while also providing important features such as memory management, garbage collection, and a security model that helps protect Java programs from malicious code. The JDK includes the Java Runtime Environment (JRE), which is necessary for running Java applications, as well as development tools such as the Java compiler (javac), the Java Archive tool (jar), and the Java debugger (jdb). Java Development Kit (JDK): The JDK is a software development environment that provides the tools and libraries necessary for developing and running Java applications. □□□□ 6: After step 5 our code compiles to a machine code called binary executables. □□□□ 5: Convert the bytecode into machine code using the JVM and this process complex in 3 steps of class loader, bytecode verifier and just in time compilation (JIT). □□□□ 4: Load the bytecode into java virtual machine (JVM). □□□□ 3: Convert the code into bytecode (.class files collection). If compilation becomes successful then it generates. □□□□ 2: Compile the JAVA code and then the compiler starts checking for errors like syntax, compilation, runtime, memory overflow etc. Java program execution is being done in 2 phases, Compile time and Run time. And Java SE 17 is the latest LTS version of Java till today.Īlmost every type of applications can be build using Java. And Java SE is the base of all others.įrom year 1995 to year 2023 Java release almost 20 major version release. When anyone talked about only Java basically they refers to the standard edition (SE). It uses a lightweight user interface API. It is used to develop rich internet applications. It is a micro platform that is dedicated to mobile applications. It includes topics like Servlet, JSP, Web Services, EJB, JPA, etc. It is built on top of the Java SE platform. It is an enterprise platform that is mainly used to develop web and enterprise applications. It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc. It includes Java programming APIs such as java.lang, java.io,, java.util, java.sql, java.math etc. There are 4 platforms or editions of Java: The most important thing about Java is that program written in Java is platform independent means it can run any platform whatever it is windows, linux or Mac. At first its name was Oak and after changed to Java. Java was developed at Sun Microsystem (which is now subsidiary of Oracle) in year 1995 by James Gosling and his team. Its syntax is lot similar to the other popular languages like C, C++ and C#. It is an object oriented programming (OOP) language means it supports all the OOP concepts. Java is a programming language which is use to write computer program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |