This message was posted on behalf of Intel Corporation
If I understood you well, you are running Fedora instead of Yocto, is that correct?
The error you are getting seems to be caused when trying to get the platform type. The fact that you are using Fedora might be the reason why you are getting the error. Since Fedora is not the supported OS, MRAA might not work as expected. In the Example.java code, you are only importing mraa.mraa, but in the HelloEdison.java code, you are importing more libraries. MRAA is not adapted to work in other OS like Fedora so I recommend you to use Yocto.