4

If I have a .class file, how do I open it/view the source code? I think I have to decompile it first, but how the heck do I do that?

display name
  • 43
  • 1
  • 1
  • 4

1 Answers1

10

Just drag the .class file into your ide and it should show you the contents of that file, or you can use this http://www.javadecompilers.com/ to decompile the .class file.:)

beastlyCoder
  • 2,349
  • 4
  • 25
  • 52