How to add a manifest file to jar file

JAR files support a wide range of functionality, including electronic signing, version control, package sealing, and others. What gives a JAR file this versatility? The answer is the JAR file’s manifest.

The manifest is a special file that can contain information about the files packaged in a JAR file. By tailoring this “meta” information that the manifest contains, you enable the JAR file to serve a variety of purposes.

This post will explain the contents of the manifest file and show you how to work with it, with examples for the basic features:

Simple steps to log messages in Java programs using Log4j

This article explains a bit of the importance of application logging and log4j API in Java. The following paragraphs will give you an overview of how logging mechanism works in…

Unveil magic of hibernate lazy loading

[dropcap]R[/dropcap]ecently we have discussed about the performance of retrieving collections/relations/associations inside objects. By the way, we also review the machinery that hibernate handles these relational concepts to improve the effectiveness…

Rename a MySQL database

Once day you want to rename your database in MySQL for whatever reason. How can you do this idea? via phpMyAdmin From phpMyAdmin, we often rename a database by applying…

How to create an Executable Jar File

In Java programming, it is common to combine several classes in one .jar (“java archive”) file.  Library classes are released in this fashion which these classes are packed into a…

How to run JAR packaged applications

A few questions can be questioned when someone wants to learn Java programming. For example, how is its independent on working environment? How can we create a standalone program? How…

Highlight text in LaTeX

Purpose: Use the LaTeX soul package to highlight text in a LaTeX document. Suppose you want to provide a highlight color or background color for text in a LaTeX document.…

Automatic, clever references with cleveref

(Tiếng Việt) Tính năng này rất quan trọng vì: trong khi tạo các tham chiếu đến Table, Figure, Equation… bạn không nhớ đã ghi Table hay table hay TABLE etc. Và đó là lí do chúng ta muốn tự động hóa việc thêm các prefix phù hợp cho các đối tượng tham chiếu.

Add plugins or extensions to LibreOffice

(Tiếng Việt) Thêm các tính năng mở rộng cho LibreOffice: Tôi có nhu cầu chuyển đổi các file văn bản .odt hoặc .doc sang dạng epub để tiện cho việc đọc trên các thiết bị chạy Android. ePub là một chuẩn mới để làm sách điện tử.

What is GPU Process in Chrome’s Task Manager

Tieng Anh The GPU process is a process used only when Chrome is displaying GPU-accelerated content. Chrome uses GPU to accelerate web-page rendering, typical HTML, CSS, and graphics elements. In…