InfoSphere/SpotBugs 4.8.5/ 返回书籍

Installing

qianmoQqianmoQ· 更新于 2026-09-17· 阅读 3 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

This chapter explains how to install SpotBugs.

Extracting the Distribution

The easiest way to install SpotBugs is to download a binary distribution. Binary distributions are available in gzipped tar format and zip format. Once you have downloaded a binary distribution, extract it into a directory of your choice.

Extracting a gzipped tar format distribution:

$ gunzip -c spotbugs-4.8.5.tgz | tar xvf -

Extracting a zip format distribution:

C:\\Software\> unzip spotbugs\-4.8.5.zip

Usually, extracting a binary distribution will create a directory ending in spotbugs-4.8.5. For example, if you extracted the binary distribution from the C:\Software directory, then the SpotBugs software will be extracted into the directory C:\Software\spotbugs-4.8.5. This directory is the SpotBugs home directory. We’ll refer to it as $SPOTBUGS_HOME (or %SPOTBUGS_HOME% for Windows) throughout this manual.

评论

登录后参与评论

正在加载评论…