Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Question for Cay Horstmann: Your view of Java in embedded / IoT world

Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Mr. Horstmann,

What's your view of the role of Java in embedded devices and the IoT world in the future?

For many years Java was described as a programming language that ran on every kind of device. As of late, it seems more recent devices are less so (for example, the extremely popular Arduino and Raspberry Pi devices). Do you believe the previous description of Java is still true, or is Java leaving this as a selling point and sticking with server-side?
Posts: 284
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not cheap to develop versions of Java for a myriad of embedded device chip sets, and Oracle seems to follow a simple rule. If the license fees are large enough to buy Larry a new yacht, it's a deal. If not, not so much. On ARM (including Raspberry Pi), you are in luck. There is a JDK for Linux/ARM right on the main JDK download page. But not for Arduino, AFAIK. There are some hobbyist projects for programming Arduino in Java, but I've never tried them.

Also, despite the fact that JavaFX should have an edge over Swing on embedded devices with a modern GPU such as Raspberry Pi, JavaFX is no longer a part of the JDK for ARM. You can, of course, run OpenJFX.

So, if you are a hobbyist, then the Raspberry Pi or Intel Galileo will be good for experimenting with IoT. If you do this for work, your vendors should have made a deal with Oracle and offer some choices for Java development.


    Bookmark Topic Watch Topic
  • New Topic