I am following the "Developing Matter 1.0 products with nRF Connect SDK" Video on YT and try to build a Matter device. I have everything already installed the SDK, VSCode etc. I was already working with it before. I updated the nRF connect SDK to be v2.3.0 and also everything else in on the latest version.
If I try to just build the plain matter sample of the light_bulb, it failes with the following error:
c:\...\modules\lib\matter\src\lib\support\JniReferences.cpp:18:10: fatal error: jni.h: No such file or directory
18 | #include <jni.h>
| ^~~~~~~
Is there something missing in my setup? where should I find this jni.h file? I assume this should be just there together with the SDK and I do not have to change anything.
Any suggestions?