In this tutorial you will learn about the Java Runtime Environment (JRE) and its application with practical example.
Java Runtime Environment (JRE)
The Java Runtime Environment (JRE) is a set of software packages used to provide a runtime environment for Java applications. It is a superset of JVM, that combines the Java Virtual Machine (JVM), platform core classes, and supporting libraries, that are necessary for running Java applications. JRE is part of the Java Development Kit (JDK) but can be downloaded separately.
JRE consists of the following key components –
- Java Virtual Machine (JVM), including Java HotSpot Client and Server Virtual Machines.
- Deployment technologies, including deployment, Java Web Start, and Java Plug-in.
- User interface toolkits, including Abstract Window Toolkit (AWT), Swing, Java 2D, Accessibility, Image I/O, Print Service, Sound, drag, and drop (DnD), and input methods.
- Integration libraries, including Interface Definition Language (IDL), Java Database Connectivity (JDBC), Java Naming and Directory Interface (JNDI), Remote Method Invocation (RMI), Remote Method Invocation Over Internet Inter-Orb Protocol (RMI-IIOP), and scripting.
- Other base libraries, including international support, input/output (I/O), extension mechanism, Beans, Java Management Extensions (JMX), Java Native Interface (JNI), Math, Networking, Override Mechanism, Security, Serialization, and Java for XML Processing (XML JAXP).
- Lang and util base libraries, including lang and util, management, versioning, zip, instrument, reflection, Collections, Concurrency Utilities, Java Archive (JAR), Logging, Preferences API, Ref Objects, and Regular Expressions.