How do I display the contents of a jar file?
Author: Deron Eriksson
Description: This tutorial describes how to display the contents of a jar file in the Eclipse console.
Tutorial created using: Windows Vista || JDK 1.6.0_04 || Eclipse Web Tools Platform 2.0.1 (Eclipse 3.3.1)
In EclipseSW, a quick way to display the contents of a jarW file is to create an External Tools configuration that executes a jar command on a selected resource. I created an External Tools configuration with the following characteristics.
This external tool configuration is shown below.
As a test, I selected the "mytest-1.0-SNAPSHOT.jar" file and chose the "display jar contents" tool.
The results of "display jar contents" are displayed in the Console view, shown below.