• Post Reply Bookmark Topic Watch Topic
  • New Topic

About Compiled File  RSS feed

 
kayanaat sidiqui
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I am using myeclipse5.1, and i want to know that how to read class file?
Actually i want to know what happens when a .java get converted into .class file. Is there any other way to know this? Basically i am looking for static inner class. Please help me out.
Thanks in advance.
 
Sudarshan Chakrabarty
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kayanaat,

If you just want to read the class file, you can download any Java decompiler and use that to open the class file.

Download DJ Java decompiler

I hope I got you right or is there something else you were looking for.
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start with the javap tool. Try javap myClass exactly like calling "java". That will only give a few details, but probably enough for your requirements.
 
kayanaat sidiqui
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ritchie and Sudarshan
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!