The Java Archive Tool (JAR) Examples
Learn how to use JAR tool: 1 - Create a jar file, 2 - Update a jar file , 3 - Extract a jar file , 4 - List files…
Favourite tutorials for developers
Core Java is the fundamental form of Java. We use it in all Java platforms and technologies. Without going through core Java, it is impossible to advance to advanced Java. Unlike core Java, advanced Java is a specialization of the core Java in some particular domain, such as database handling, networking, and the web.
Learn how to use JAR tool: 1 - Create a jar file, 2 - Update a jar file , 3 - Extract a jar file , 4 - List files…
In Java, you can use manifest file to define application’s entry point, adding classpath or package version for a JAR file. In this short tutorial , we will show you…
In this tutorial, we will show you how to create a executable JAR – When you double click on it, it runs the defined main class in manifest file.
Is there a function in Java to retrieve the Tomcat (Catalina) home directory? Yes, Tomcat home directory or Catalina directory is stored at the Java System Property environment. If the…
This tutorial shows you how to set a JAVA_HOME system variable on Windows 10. Tested with :Windows 10JDK 1.8
This article shows how to set the $JAVA_HOME environment variable on older Mac OS X and the latest macOS 11. Steps to set the $JAVA_HOME environment variable on macOS: 1…
This article shows how to install Java JDK on macOS, Homebrew package manager, manual installation, and switch between different JDK versions. Tested with: macOS 11 Big Sur; Homebrew 2.7.4J; DK…
On Ubuntu, we can add JAVA_HOME environment variable in /etc/environment file. Note/etc/environment system-wide environment variable settings, which means all users use it. It is not a script file, but rather…
The Java development kit (JDK) contains tools for Java development, and the Java Runtime Environment (JRE) contains a JVM to convert byte code .class to machine code, and execute it,…
Since Gson version 1.6, two new classes JsonReader and JsonWriter are introduced to provide streaming processing on JSON data. Read this Gson streaming documentation to understand what are the benefits…