(java@oneshot)logo/  logo/  logo/  logo/


 

Java Tutorial » Language » Introduction  
1.1.11.The javap ToolPrevious/Next

The javap command displays information about the methods, variables, and parameters present in a class file.

The output of the javap tool depends on the options used. If you do not specify any options while using the jap tool, the javap tool prints the package, protected, and public fields and methods of the classes passed to the tool.

The syntax to use the javap tool is:

javap [optionsclass. . .
Option Description
-help Displays a help message for the javap tool.
public Shows only the public classes and members.
protected Shows only the public and protected classes and members.
private Shows all classes and members.
package Shows the package, protected, and public classes and members. This is the default option of the javap tool.
-classpath path Specifies the class path that javap should use to locate the class file to disassemble.


1.1.Introduction
1.1.1. Developing a Java program involves
1.1.2. JDK Utilities
1.1.3. See the details of the compilation: use the verbose option
1.1.4. A profiler is used to analyze how much time a program spends in each part of the code.
1.1.5. The syntax to use the javac tool
1.1.6. Java Compiler Options
1.1.7. The java Tool
1.1.8. Commonly Used Java Command Options
1.1.9. The javadoc Tool
1.1.10. The jar Tool
1.1.11. The javap Tool
1.1.12. Some of the Options Supported by the javap Utility
1.1.13. The jarsignature Tool
1.1.14. The native2ascii Tool
1.1.15. The jconsole Tool
1.1.16. Set the memory available to the JVM
1.1.17. Java memory command line arguments