openHAB 3
openHAB 2
Ultimately it depends on what info you search for or tutorial you follow.
Vscode is your friend