How do I view the contents of a .class file?

A simple way to see what String literals are used in a “. class” file is to use the javap utility in your JDK installation to dump the file using the “-v” option. Then grep for text that looks like <String “…”> where … is the String you are looking for.

Sizin İçin Seçtik  1 COTI kac dolar?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do I view the contents of a .class file?

A simple way to see what String literals are used in a “. class” file is to use the javap utility in your JDK installation to dump the file using the “-v” option. Then grep for text that looks like <String “…”> where … is the String you are looking for.

Sizin İçin Seçtik  What is the difference between a .java file and a .class file?

Leave a Reply

Your email address will not be published. Required fields are marked *