OpenJDK installation for ConnectCore8M Nano

Hi ,

I am trying to install openjdk for the connect core 8m nano soc.
I have tried to follow steps mentioned here : https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-openjdk-to-Yocto-Layers/ta-p/1128283
Seems to build successfully , but looks like java command execution fails.
What is the correct way to do the same?