frequently ask ? : Computers : Programming : Languages : Java

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 3 people (100%) answered Yes
Recently 3 of 3 people (100%) answered Yes

Entry

Java: Jar.exe: How to see all classes which are stored in a .jar file?

Apr 22nd, 2006 16:41
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 22 April 2021 - 11:46 pm ----------------------
Java: Jar.exe: How to see all classes which are stored in a .jar file?
---
Steps: Overview:
 1. -Possibly download and install the Sun Java SDK
     (as this installs the file jar.exe)
 2. -Open an MSDOS box and type the following command:
      jar.exe -tvf <your jar filename>
      E.g.
       jar.exe -tvf HelloWorld.jar
 3. -That will show a screen output similar to the following:
--- cut here: begin --------------------------------------------------
C:\> jar.exe" -tvf HelloWorld.jar
     0 Wed Apr 12 00:19:12 CEST 2006 META-INF/
    71 Wed Apr 12 00:19:14 CEST 2006 META-INF/MANIFEST.MF
   544 Tue Apr 11 01:16:40 CEST 2006 HelloWorld.class
--- cut here: end ----------------------------------------------------
===
Internet: see also:
---
----------------------------------------------------------------------