1、配置

  • Run---external tools---external tools configurations
  • 选择Program 新建javap运行方式
  • 设置location、workspace等选项
如下图:
在eclipse中使用javap工具反汇编

 
注意:
  • workding directory 设置为   ${workspace_loc}/${project_name} ,
  • Arguments    -c -verbose -classpath ${workspace_loc}/${project_name}/bin ${java_type_name}
  • 如果设置错误会提示cannot find xxx类的错误,或者是有关java_type_name empty的错误arguments要加上java_type_name,否则会提示No classes were specified on the command line
2、Run

 

相关文章:

  • 2021-06-04
  • 2021-11-19
  • 2021-09-22
  • 2021-09-13
  • 2022-01-06
  • 2021-12-12
  • 2021-11-04
  • 2021-04-17
猜你喜欢
  • 2021-08-30
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2022-01-05
相关资源
相似解决方案