Skip to main content

Questions tagged [javap]

javap - The Java Class File Disassembler

4 votes
2 answers
853 views

How to execute javap from ant

I want to run javap command from an ant script. Javap command is located in the bin folder under JDK, but how do I access the JDK path in an ant script? ${java.home} is pointing to the JRE instead of ...
msell's user avatar
  • 2,208
19 votes
2 answers
10k views

Is there a disassembler + debugger for java (ala OllyDbg / SoftICE for assembler)?

Is there a utility similar to OllyDbg / SoftICE for java? I.e. execute class (from jar / with class path) and, without source code, show the disassembly of the intermediate code with ability to step ...
Ran Biron's user avatar
  • 6,365
13 votes
1 answer
2k views

How do I alias the scala setter method 'myvar_$eq(myval)' to something more pleasing when in java?

I've been converting some code from java to scala lately trying to teach myself the language. Suppose we have this scala class: class Person() { var name:String = "joebob" } Now I want to access ...
eyberg's user avatar
  • 3,230
1 vote
1 answer
155 views

Getting runtime class information from the web? Something like javap but at runtime on class loaded in memory

I am working with Websphere and complicated classloading issues. I want to be able to download or print information that would normally get printed by javap (the methods, etc). I may also need to ...
Berlin Brown's user avatar
  • 11.7k
22 votes
5 answers
24k views

How do I print the class structures in a jar file using the javap tool?

I want to list the methods of the class files in the jar using the javap tool. How do I do it so that it lists the methods and members of all the class files in the jar. Right now I am able to do it ...
Prabhu R's user avatar
  • 14.1k

15 30 50 per page
1
5 6 7 8
9