SGMLXML.net A place for SGML and XML application developers.

March 23, 2018

View a JAR manifest without opening it from a Terminal Window

Filed under: Java,Linux — cangione @ 9:14 am

unzip -p jdiff.jar META-INF/MANIFEST.MF

Because the -p option specifies that the unzip command should write its output to standard output rather than to an actual file, there is no need to clean up any files.

Example:


unzip -p ant.jar META-INF/MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 10.0-b22 (Sun Microsystems Inc.)
Main-Class: org.apache.tools.ant.Main

Name: org/apache/tools/ant/
Extension-name: org.apache.tools.ant
Specification-Title: Apache Ant
Specification-Version: 1.7.1
Specification-Vendor: Apache Software Foundation
Implementation-Title: org.apache.tools.ant
Implementation-Version: 1.7.1
Implementation-Vendor: Apache Software Foundation

May 23, 2006

iText a Free Java-PDF library

Filed under: Java,Software — cangione @ 9:36 pm







iText is a good jar available under multiple license options: MPL and LGPL.

The classes are very useful for PDF cutting and assembly.

Powered by WordPress