Question
· Mar 28, 2023

objectscriptQuality for VSCode on Mac M1/M2

Hi,

I recently moved to a Mac M2. I was already using VSCode on my intel-based Mac, and used the plug "objectscriptQuality for VSCode". It installs nicely, but it does not seem to do anything, not even an error. I installed the same java version (but ARM based) as on my old machine so that prerequisite is met. Also set the path to java in VSCode.

Any clues/has anyone got this working on a Mac based on Apple silicon M1/M2 chips?

Thanks.

Product version: IRIS 2022.1
Discussion (5)2
Log in or sign up to continue

FYI

The codeQuality tool now requires a newer java version. I had to change this in the settings.json from

"sonarlint.ls.javaHome": "/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home"

to 

"sonarlint.ls.javaHome": "/Library/Java/JavaVirtualMachines/temurin-21.jre/Contents/Home"

I skipped version 17 as there was already a 21 which seems to work OK.

I used the OpenJDK runtime:

https://adoptium.net/temurin/releases/