A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Java in General
how to decompile .class files
Joined: Dec 28, 2000
Mar 05, 2003 14:07:00
I need to decompile .class file. Does anyone knows what is a syntax to do so.
Joined: Dec 11, 2001
Mar 05, 2003 15:52:00
A good way to start is by this
[tsmets@calvin bin]$ javap -help Usage: javap <options> <classes>... where options include: -b Backward compatibility with javap in JDK 1.1 -c Disassemble the code -classpath <pathlist> Specify where to find user class files -extdirs <dirs> Override location of installed extensions -help Print this usage message -J<flag> Pass <flag> directly to the runtime system -l Print line number and local variable tables -public Show only public classes and members -protected Show protected/public classes and members -package Show package/protected/public classes and members (default) -private Show all classes and members -s Print internal type signatures -bootclasspath <pathlist> Override location of class files loaded by the bootstrap class loader -verbose Print stack size, number of locals and args for methods If verifying, print reasons for failure
There is then the one & only magical google that returns you :
search on Java Decompilers
There is first of all the
decompiler, which is embedded in many Commercial code
is/was the very first one on the market.
NetBean has AFAIK a Java Decompiler
@ the Forge
, but I don't know what it's worth...
I hope you can find your pleasure inthere ... !
[ March 05, 2003: Message edited by: Thomas SMETS ]
Just another developper
subject: how to decompile .class files
myfaces tree2 examples
Use of Class.forName() in JDBC
Class definitions 2 source
decompilation of .class file into .java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014