Excetion in main thread security manager deprecated error while run StartSonar.bat 9.7 version

Must-share information (formatted with Markdown):

  • Used following version

  • SonarQube version 9.7

  • Running StartSonar.bat to run SonarQube

  • I have searched wrapper.conf but its not available in 9.7.

I want to acheive bitbucket cloud integration with SonarQube. Installed Latest developer version 9.7. but It is giving error that

"Exception in thread “main” java.lang.UnsupportedOperationException:
Security Manager is deprecated and will be removed in future releases.

Process ElasticSearch is Stopped.
SonarQube is Stopped.

Can Someone please revert on this ?

Hey there.

You probably have Java 17 installed rather than Java 11, which is the required JVM to run SonarQube v9.7. Can you check this? (java -version)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.