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?

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

Entry

Java: Class: Operation: Search: How to find if your class file exists in some jar file?

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


----------------------------------------------------------------------
--- Knud van Eeden --- 22 April 2021 - 11:43 pm ----------------------
Java: Class: Operation: Search: How to find if your class file exists 
in some jar file?
===
Method: Do a search with a grep program
---
You could do a grep search
 grep.exe -id "<your class filename>.class" *.jar
 e.g.
   grep.exe -id HelloWorld.class *.jar
(this means let grep.exe search (case insensitive) for the word
 'HelloWorld.class' (in all .jar files in the current directory and its
 subdirectories))
===
Internet: see also:
---
----------------------------------------------------------------------