There are a number of jar files present in the lib and lib\ext folder of Java Runtime Environment (JRE). Each one of them has a specific purpose. You may not be using all of them in a single application but it is good to have an understanding of each jar file. Here is the list of these jar files followed by description of each of the jar file:

Note:These jar files are used by Eclipse for building the project.

Here is a brief overview of each of the jar file:

  • resources.jar : You will see folders with same name as present in rt.jar. There are resources like images, properties files placed in this jar file.
  • rt.jar : It is the heart of Java as it contains .class files for the very common classes which are used in any kind of Java application. These classes include Collections, String, Multi-threading, Serialization and other core API’s of Java.
  • jsse.jar : This is Java Secure Sockets Extension jar and includes implementation for SSL related routines When you are using SSL, you are dealing with encryption/decryption, security certificates and HTTPS.
  • jce.jar : JCE stands for Java Cryptography Extensions and is meant to be replaced by a third party vendor. By default, this jar file has whole lot encryption algorithms implemented. If you don’t have third party implementation in place then you may use the default implementation sunjce_provider.
  • charsets.jar : Here you will find classes related to the conversion of characters from one encoding to another.
  • jfr.jar : The JVM from Oracle named JRockit (which is part of Oracle WebLogic) has a component known as java Flight Recorder. JFR in Jrockit is used for analyzing the JVM parameters in terms of various resource usage. With JDK 1.7, it has been made part of lib folder of JRE. For a more comprehensive understanding of JFR, follow the below link:
    http://docs.oracle.com/cd/E21764_01/web.1111/e13714/using_flightrecorder.htm#CHDEDJHC
  • dnsns.jar : This jar has got only two class files and this jar is used for DNS name service wrapper for JNDI provider.
  • localedata.jar : Contains classes for i18n of Currency, Timezone and Calendar for various countries.
  • sunec.jar : This JAR file contains Elliptic Curve cryptography class files. There are many schemes available under EC which include Elliptic Curve Diffie–Hellman (ECDH) and Elliptic Curve Digital Signature Algorithm (ECDSA)
  • sunjce_povider.jar : This is default cryptography implementation of JCE API which is shipped with JRE.
  • sunmscapi.jar : Windows comes with MS CryptoAPI which helps developers to make their desktop application secure by using the cryptography API’s. These API’s are in the form of dynamic linked libraries (aka DLL). The sunmscapi.jar helps Java applications to use the MS CryptoAPI in their applications without the need of any other interface.
  • zipfs.jar : It is a library to manage zip/jar files using the NIO2 file system API’s. It has been moved to ext/lib since JDK1.7 update 23 The advantage is that you access zip files in the same as you access normal files.

Related Posts

Important jar files in JRE admin Core Java
There are a number of jar files present in the lib and lib\ext folder of Java Runtime Environment (JRE). Each one of them has a specific purpose. You may not be using all of them in a single application but it is good to have an understanding of each...
There are a number of jar files present in the lib and lib\ext folder of <a href="http://www.javaexperience.com/java-difference-between-jvm-jre-jdk-jit/">Java Runtime Environment (JRE)</a>. Each one of them has a specific purpose. You may not be using all of them in a single application but it is good to have an understanding of each jar file. Here is the list of these jar files followed by description of each of the jar file: <strong>Note:These jar files are used by Eclipse for building the project.</strong> <img src="http://www.javaexperience.com/wp-content/uploads/2012/10/jars.png" alt="" title="jars" width="427" height="235" class="alignnone size-full wp-image-543" /> Here is a brief overview of each of the jar file: <ul> <li><strong>resources.jar :</strong> You will see folders with same name as present in rt.jar. There are resources like images, properties files placed in this jar file.</li> <li><strong>rt.jar :</strong> It is the heart of Java as it contains .class files for the very common classes which are used in any kind of Java application. These classes include Collections, String, Multi-threading, Serialization and other core API's of Java.</li> <li><strong>jsse.jar :</strong> This is Java Secure Sockets Extension jar and includes implementation for SSL related routines When you are using SSL, you are dealing with encryption/decryption, security certificates and HTTPS.</li> <li><strong>jce.jar :</strong> JCE stands for Java Cryptography Extensions and is meant to be replaced by a third party vendor. By default, this jar file has whole lot encryption algorithms implemented. If you don't have third party implementation in place then you may use the default implementation sunjce_provider.</li> <li><strong>charsets.jar :</strong> Here you will find classes related to the conversion of characters from one encoding to another.</li> <li><strong>jfr.jar :</strong> The JVM from Oracle named JRockit (which is part of Oracle WebLogic) has a component known as java Flight Recorder. JFR in Jrockit is used for analyzing the JVM parameters in terms of various resource usage. With JDK 1.7, it has been made part of lib folder of JRE. For a more comprehensive understanding of JFR, follow the below link: <a href="http://docs.oracle.com/cd/E21764_01/web.1111/e13714/using_flightrecorder.htm#CHDEDJHC">http://docs.oracle.com/cd/E21764_01/web.1111/e13714/using_flightrecorder.htm#CHDEDJHC</a> </li> <li><strong>dnsns.jar :</strong> This jar has got only two class files and this jar is used for DNS name service wrapper for JNDI provider.</li> <li><strong>localedata.jar :</strong> Contains classes for i18n of Currency, Timezone and Calendar for various countries.</li> <li><strong>sunec.jar :</strong> This JAR file contains Elliptic Curve cryptography class files. There are many schemes available under EC which include Elliptic Curve Diffie–Hellman (ECDH) and Elliptic Curve Digital Signature Algorithm (ECDSA)</li> <li><strong>sunjce_povider.jar :</strong> This is default cryptography implementation of JCE API which is shipped with JRE.</li> <li><strong>sunmscapi.jar :</strong> Windows comes with MS CryptoAPI which helps developers to make their desktop application secure by using the cryptography API's. These API's are in the form of dynamic linked libraries (aka DLL). The sunmscapi.jar helps Java applications to use the MS CryptoAPI in their applications without the need of any other interface.</li> <li><strong>zipfs.jar :</strong> It is a library to manage zip/jar files using the NIO2 file system API's. It has been moved to ext/lib since JDK1.7 update 23 The advantage is that you access zip files in the same as you access normal files.</li> </ul>
Java Garbage Collection Tutorial
Differences between Abstract class and interface
The following two tabs change content below.
I run this blog with lots of passion. In this website, you will find tutorials on Core Java, Spring, Struts, Web Applications, Portals and Database. Please support me and the website by sharing the posts on your facebook / twitter. You can tap the share button at the top of each post. Thanks for the support.

Latest posts by admin (see all)

Comments

comments