Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Cross compiling Java SE application included Device I/O API on Linux desktop for Embedded Devices

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello gentlemen,

Could I develop my application which uses Device I/O API on my linux laptop then compile it for running on an embedded device? If so, will you please tell me how?

(I want to use eclipse as the IDE.)
 
Marshal
Posts: 3824
537
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm interested in this as well. Will you be using Oracle's Java SE Embedded?
 
Ron McLeod
Marshal
Posts: 3824
537
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An update based on some recent hands-on experience ...

If the target device is a Raspberry Pi running Raspbian OS, you can use the Pi4J API and libraries for GPIO operations and communications over the serial port, I2C, and SPI. The Raspbian distribution includes a Java 8 SE runtime environment, the Pi4j libraries, and the platform-specific JNI library.

I have only tried GPIO so far and found the API functionality quite complete and easy to use. My development environment is Eclipse on Windows 7 and CentOS Linux .
 
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic