File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes using javap utility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "using javap utility" Watch "using javap utility" New topic

using javap utility

Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
i am not able to use javap disassembler to see the methods and classes available under java built in packages

but it works when i type along with the filename like javap HelloWorld

but not when i type javap java.lang.*,it says ERROR:couldn't find java.lang.*

any suggestion would be welcome

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

You can't use wildcards; you have to look at one specific class at a time. For example, javap -c java.lang.String works fine.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: using javap utility
It's not a secret anymore!