The only reccomended version is a manual build of the master branch. Support for legacy releases reached end of line, only issues and pull requests against master can be accepted. The next release ...
Document potential impacts of Beanshell upgrade (was Regression in Beanshell that manifests by "Typed variable declaration error", introduced after upgrading to JMeter 4.0) #4973 ...