CLion: Grafical git rebase always fails


When I try to rebase (or squash) commits by using the CLion-interface I always get an error:

Rebase failed

/mnt/c/Users/<USER_NAME>/AppData/Local/JetBrains/CLion2023.2/tmp/ 3: /mnt/c/Program Files/JetBrains/CLion 2022.2.4/jbr/bin/java.exe: Exec format error There was a problem with the editor '/mnt/c/Users/<USER_NAME>/AppData/Local/JetBrains/CLion2023.2/tmp/'.

When I do the rebase manually by using the git interface everything works fine. I've tried this in different projects but I always get the same error. This error may occure since a certain update but I'm not sure.


Build #CL-232.9559.58, built on August 22, 2023

Runtime version: 17.0.8+7-b1000.8 amd64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.



Could you please describe your setup? Do you use Remote with the thin client (


Thank you for sharing the related YouTrack issue here!