This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 24190

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: using javap utility
jQuery in Action, 3rd edition