by default Java compilation is disabled in MRAA.
If you enable Java in MRAA (or any other option), need to add required components like OpenJDK or Oracle's JDK.
Look at MRAA documentation: mraa/building.md at master · intel-iot-devkit/mraa · GitHub
I did not edit mraa recipe, but still on my very first attempt, I was required to add openjdk8 (that's why the extra meta-java layer).
Can't figure out why
Do you still need help with this? Or have you been able to build the Galileo image with mraa?
Also, is there any reason why you need to build mraa on your image? I mean, you should be able to install it from its repo (http://iotdk.intel.com/repos/).
Thank you for asking. Yes, I still need help with this.
I really did not want to add Java to my image, but it seems is a dependency of mraa. Or maybe I'm doing something wrong.
My goal with this image is to embed all the files of my project; facilitating its distribution.
I found that really strange. I understand what you need to achieve, right now two things come to mind. The first would be for you to build an older version of mraa that doesn't include Java as a workaround, it would have to be version 0.6.2 or lower. Nevertheless, I understand that using such an old version could bring issues. So, the second thing I can think of is that you report this as an issue in https://github.com/intel-iot-devkit/mraa/issues, that way the developers could provide you a suggestion that could be more accurate for this situation.
Thanks Peter for your suggestions. Just one thing...when you tried to build using split layers did you have this problem?
I did not have this issue when I tried it. Nevertheless, I did it quite a while ago, with a previous version of mraa that might have not included Java. Therefore, I believe the best option would be to get their help.