You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a newbie trying to use SpotBugs 4.8.3 from the RHEL 8.9 command line and having a fair amount of difficulty. I had to chmod +x /path/to/spotbugs/bin/spotbugs script. Should I have to do that? I would think the script should already be executable when I untar the spotsbug-4.8.3.tgz file.
Regardless, I couldn't get the spotbugs script to work, so I switched to using java to execute the spotgsbug.jar file directly. That at least started the GUI, but I really want to use it from the command line, so I started to investigate the command line options and was surprised to discover -version doesn't return anything.
java -jar /path/to/spotbugs/lib/spotbugs.jar -help works though. The -help output says -version should "print version, check for updates and exit, without running analysis". It doesn't.