Friday 16 May 2014

Running JME and JSE Embedded / JES on the same Raspberry Linux Distribution

For complex projects in with embedded technology, it might make sense to combine several Oracle tools. For example, use the Java Micro Edition (JME) for the ease of connectivity to external devices and combine that with the Java Embedded Suite based on Java Standard Edition Embedded, for example for using Oracle Event Processing Embedded to do some post processing.
To use both products on the same Raspberry Pi system, it is important choose the rigth Linux distribution.
JME8 needs libraries built for usage of a hardware FPU (armhf), whereas JSE Embedded needs libraries for software FPU emulation (armsf). See also "What do you mean by "soft float ABI" and "hard float ABI"?".
The Debian based distributions I tried (Wheezy, Raspbian) require to choose one specific image built for armhf or armsf. And the latest one with armsf that I found is of late 2012, so and apt-get upgrade takes quite a few hours on a Raspberry Pi. So depending on the chosen distribution image, only JME or JES can be used, but not both, which might be fine depending on the requirements.
To use both on one system, a distibution should be choosen, which supports both, armsf and armhf. Pidora does the trick see link, so JES and JME can be run on the same system (Marcel, thanks for the hint).

---8<-----------------------------------------------------------------------------------------

UPDATE: in between, Oracle has also released JSE Embedded with support armhf, but for example Oracle Event Processing Embedded does not support that version. So it is still a good idea to use Pidora as long as it is not clear that all required software will use armhf