Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1407 Posts: 7538
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 78 Posts: 343
I plan to install XDK Workbench 3.0.1 on Raspbian on Raspberry Pi 3. I downloaded the bin file and ran #sudo bash install_XDK-3.0.1-x86.bin. It unpacked the file properly but stopped with the error message
JRE libraries are missing or not compatible
I have check that my system is running Oracle Java 8 JDK.
Any help appreciated.
Hello Teck, I was able to reproduce the issue, but unfortunately, I have not found the source of this issue yet. I have tried a few things, but I am guessing that this is a memory issue. Space is required to unpack the content of the installation binary, and perhaps there is not enough for that in the /tmp folder of the system. For further investigation into this issue, could you please tell me how much space you have left in your system, by using the command:
Additionally, please tell me your java version, by using the command
$ java -version
Finally, could you tell me the reason why you want to install the XDK-Workbench on the Raspberry Pi3? Kind regards, Franjo
After running -df, I see I have about 9.2GB of space in /dev/root.
My version of Java is 1.8.0_65.
I guess that I may not be able to install XDK Workbench on Raspberry Pi 3, for the reason that Raspberry Pi uses ARM where's XDK Workbench is x86.
I deploy many XDKs connected to Raspberry Pi 3 in remote locations. It is easy for me to remotely control all my Raspberry Pis using SSH and Vncserver, but it is very troublesome to have to bring a laptop to these locations to reflash the XDK when I need to update the XDK program. That's why I am testing if I can install XDK workbench on Raspberry Pi 3, so that I can flash my XDKs remotely.
Alternatively, I know that the result of building an XDK program is a .bin file. Is there a way to install this .bin file to the XDK from a Raspberry Pi 3?
Hello Teck, Thank you for providing additional information. It could be indeed the case that it is not possible to install the XDK-Workbench on the Raspberry Pi because the installation expects an x86 architecture and not an ARM architecture. A workaround would be to buy and install the program ExaGear on your raspberry pi. That should make it possible to install the XDK-Workbench on your raspberry pi. For more information, please refer to this tutorial. Regarding alternatives to flashing the updated firmware to the XDK, you have the possibility to implement Firmware over the Air (FOTA) into your XDK application. This gives you the benefit that you only need to flash your XDKs once via USB and all other updates will be downloaded and flashed remotely. Please note that FOTA is currently only available in combination with the Lwm2m protocol. Additionally, you will need a lwm2m server providing the FOTA resource containing the updated firmware, so that the XDK can download it. The XDK application would need, as mentioned earlier, the implemented FOTA functionality. The XDK itself needs to be equipped with an SD card with enough data storage. For more information about FOTA, please refer to section 3.6 in the general information guide. Additionally, for an implementation example, please take a look at the FotaDownload.c file of the BoschXDKCloudConnectivity example. Please let me know if that was helpful and do not hesitate to ask if you have further questions. Kind regards, Franjo
Thanks for your reply, I will give it a try.
Hello Teck, I am glad to hear that I could help you. Please feel free to ask if you have further questions. Kind regards, Franjo