Hi,
running on Windows 10, Eclipse 2023-06.
After updating to SLE 10.1.0 and restarting Eclipse i got this error
Initializing SonarLint backend...
SonarLint Core Jar archive located at C:\Program Files\Eclipse\2023-06\..\..\..\ProgramData\Eclipse\2023-06\plugins\org.sonarlint.eclipse.sloop.windows.x64_10.1.0.81817\sloop\lib\sonarlint-core-10.1.0.77731.jar
Sloop located in C:\Program Files\Eclipse\2023-06\..\..\..\ProgramData\Eclipse\2023-06\plugins\org.sonarlint.eclipse.sloop.windows.x64_10.1.0.81817\sloop
Using JRE from C:\Program Files\Eclipse\2023-06\..\..\..\ProgramData\Eclipse\2023-06\plugins\org.sonarlint.eclipse.sloop.windows.x64_10.1.0.81817\sloop\jre
Unable to start the SonarLint backend
java.io.IOException: Cannot run program "C:\ProgramData\Eclipse\2023-06\plugins\org.sonarlint.eclipse.sloop.windows.x64_10.1.0.81817\sloop\jre\bin\java.exe" (in directory "C:\Program Files\Eclipse\2023-06\..\..\..\ProgramData\Eclipse\2023-06\plugins\org.sonarlint.eclipse.sloop.windows.x64_10.1.0.81817\sloop\jre\bin"): CreateProcess error=1260, Dieses Programm wurde durch eine Gruppenrichtlinie geblockt. Wenden Sie sich an den Systemadministrator, um weitere Informationen zu erhalten
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at org.sonarsource.sonarlint.core.rpc.client.SloopLauncher.execute(SloopLauncher.java:102)
at org.sonarsource.sonarlint.core.rpc.client.SloopLauncher.start(SloopLauncher.java:63)
at org.sonarlint.eclipse.core.internal.backend.SonarLintBackendService$1.run(SonarLintBackendService.java:155)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.io.IOException: CreateProcess error=1260, Dieses Programm wurde durch eine Gruppenrichtlinie geblockt. Wenden Sie sich an den Systemadministrator, um weitere Informationen zu erhalten
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:499)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
... 5 more
Starting SonarLint for Eclipse 10.1.0.81817
Eclipse is installed here:
Eclipse itself under C:\Program Files\Eclipse\2023-06
Plugins under C:\Program Data\Eclipse\2023-06
Workspace(s) under C:\WKS
The new SLE version brings his own JRE and it is blocked by a group policy.
Now the solution would be to tell Sonarlint it should use another JRE/JDK as mentioned here
but it doesn’t work, did uninstall / install several times
tried to reach the Sonarlint preference page but
then it shows
Is the preference page also affected by the group policy ?
Is there a possible workaround like settting the Sonarlint JRE/JDK via eclipse.ini ?
Gilbert