How to use the jad command in mac
This article mainly shows you "how to use the jad command in mac", the content is easy to understand, clear, hope to help you solve your doubts, let the editor lead you to study and learn "how to use the jad command in mac" this article.
1. Download jad
Download address: https://varaneckas.com/jad/
2. Decompress jad
Create a related folder under the / usr/local/ path, for example: / usr/local/jad/src
3. Configure bash_profile
Add export JAD_HOME=/usr/local/jad/src export PATH=$JAD_HOME:$PATH using the command: vim ~ / .bash_profile
4. Refresh bash_profile
Use the command: source ~ / .bash_profile
5. Decompile class with jad
Use the command: jad T.class
-rw-r--r-- 1 lcp staff 927 9 5 16:13 T.classmurr Murray RW Muhami-1 lcp staff 933 9 5 17:21 T.jad
Open T.jad
Public final class T extends Enum {public static T [] values () {return (T []) $VALUES.clone ();} public static T valueOf (String s) {return (T) Enum.valueOf (com/photon/member/T, s);} private T (String s, int I) {super (s, I);} public static final T SPRING; public static final T SUMMER; public static final T AUTUMN Public static final T WINTER; private static final T $VALUES []; static {SPRING = new T ("SPRING", 0); SUMMER = new T ("SUMMER", 1); AUTUMN = new T ("AUTUMN", 2); WINTER = new T ("WINTER", 3); $VALUES = (new T [] {SPRING, SUMMER, AUTUMN, WINTER}) }} the above is all the contents of the article "how to use jad commands in mac". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!