Viewing contents of a .jar file

后端 未结 30 1064
一向
一向 2020-12-02 03:54

What would be the easiest way to view classes, methods, properties, etc. inside a jar file? I\'m looking for something equivalent to the very useful Lutz Roeder .NET Ref

30条回答
  •  臣服心动
    2020-12-02 04:43

    You can view JAR files like ZIP files from Windows Explorer by doing the following:

    • Run Command Prompt as Administrator
    • From the command line, enter:

      assoc .jar=CompressedFolder

    • While you are at it, you might as well do the same for WAR and EAR files:

      assoc .war=CompressedFolder

      assoc .ear=CompressedFolder

提交回复
热议问题