After ieda configures javap, it reports an error, error: class not found

  In the past two days, for the convenience of learning, refer to Baidu’s External Tools of Idea’s configuration of Javap, but when decompiling it directly reported an error and could not find the class.
Insert picture description here
  First of all, we need to understand that the role of javap is based on the class bytecode file. Analyze the code area (assembly instructions), local variable table, exception table, code line offset mapping table, constant pool and other information corresponding to the current class.
  So first you need to specify the class file, and the above com.bin.lock.CustomLock is obviously not a file path, and then added .class, and after testing, but it still doesn’t work

Insert picture description here
  So I thought of the absolute path configuration method, after testing, the configuration method of the absolute path is OK;

Insert picture description here
  Next, I will explain how to configure the absolute path. First, open External Tools, the idea location: file>setting>Tools>External Tools;
  then select OutputPath, enter \, then select FileDirRelativeToSourcepath, enter \, then select FileNameWithoutAllExtensions, enter .class;
  The final path:
    -c $OutputPath$\$FileDirRelativeToSourcepath$\$FileNameWithoutAllExtensions$.class The
  configuration process is as follows:

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_36845919/article/details/109321542