Finally not sure it's because of the new M1 chip architecture but JNA with...
Finally not sure it's because of the new M1 chip architecture but JNA with CLib was having lot of trouble with my SharedMemory IMPL, I removed all and rewrite using Java built in stuff using RandomAccessFile, MappedByteBuffer & FileChannel, it's using a binary file and everything is working on the RAM, it's not efficiant as it could have been with JNA and CLib but at least everything is working smootly for communication between both JVM's, also I added a small test which does not represent completely but aniway,... to be sure everything was working I pasted the SharedMemomryUtil class on Transport and writing to memory some primitive from the Main and it worked, I also wrote a simple bash script that start both program on 2 separate windows on MAC with Iterm2, I added one for Windows that I did not tested since I am not on windows, might have to modify if it does not work as expected