Tuesday Feb 11, 2014

Develop Java Embedded Applications Using a Raspberry Pi for free (well almost)

Have you wondered what the future of embedded devices looks like?
Have you ever wanted to create your own weather station or design a device to control the lights in your home automatically?

All of these questions will be answered in this practical hands-on course. This course introduces Java developers to the world of embedded devices and the Internet of Things (IoT). Embedded controllers are already a part of our lives. Meters read electric and water usage and send the readings to a central office. Electronic thermostats turn on the heat and air conditioning as required.

This course is free (besides the necessary hardware, which should cost bout $150).

Enroll here!

Happy Coding,


Wednesday Jan 29, 2014

Things are getting really interesting - NetBeans IDE 8.0 Beta

NetBeans 8 (Beta) has been released, download it here. Part of the release statement looks like this:

"NetBeans IDE 8.0 Beta provides out-of-the-box code analyzers and editors for working with the latest Java 8 technologies--Java SE 8, Java SE Embedded 8, and Java ME Embedded 8."

And the part that interests me mostly is the Java ME Embedded 8! I have purchased a GPS and a Bosch BMP180 Barometric Pressure/Temperature/Altitude Sensor so I can try out the new DAAPI in Java ME 8! Sample code will be posted soon as well as tips and tricks to get things going.

Time to Code!


Wednesday Oct 23, 2013

Free course on Java Embedded on the Raspberry Pi?

Oracle is developing a free, on-line course on developing Oracle Java Embedded applications using a Raspberry Pi as the development platform.

The course teaches experienced Java SE developers how to design and develop applications using Java ME Embedded 8 EA on a Raspberry Pi with physical devices, including: switches and Light Emitting Diodes (LED); temperature/barometric pressure sensors; Global Positioning System (GPS) sensors; and system interrupt timers. Additional modules include logging, threads, network I/O, file I/O, record management service, push registry, application management services and best practices for headless embedded devices.Sounds like great fun doesn't it? Read more about the course and give us your feedback in this short survey.


Wednesday Oct 02, 2013

Oracle Java 7 JDK on Raspberrry Pi

This is just fantastic news:

"It’s therefore fantastic to be able to announce that we’ve added the official hard-float Oracle Java 7 JDK to our repository. Oracle Java offers significant performance advantages over OpenJDK on ARM platforms, and will expand the range of Java applications that run well on the Pi."

Read more here!

And if you're a current owner of a Rpi how do you install Oracle Java 7 JDK on the RPi? Easy:

sudo apt-get update && \
sudo apt-get install oracle-java7-jdk

Now time to write some cool Java programs on the RPi.


Friday Sep 06, 2013

Focus on Java Embedded at JavaOne

Are you looking to learn about Java Embedded at JavaOne? Click the link and it will give you a long list of things that is happening at JavaOne:



Tuesday Jul 23, 2013

Extend the reach of Java in the Internet of Things (IoT)

This is wonderful for partners to Oracle:

Oracle has introduced the Oracle Java Platform Integrator program to provide partners with the ability to customize Oracle Java Embedded products, including Java SE Embedded, Java ME Embedded, and Java Embedded Client, to reach different device types and market segments. Coupled with the massive Java ecosystem of over 9 million Java developers worldwide, this new program will help enable greater development and deployment flexibility for the IoT.

Read more here.

Wednesday Apr 17, 2013

Running my IMLet on the Raspberry Pi

So I built my IMLet and now I want to run it on my Raspberry Pi outside of Netbeans. After reading the documentation I see that there are a few commands that can be used to make this happen. Here are the steps I did:

  1. Transfer the Jar and JAD file to the Raspberry Pi
  2. Install the Midlet using the installMidlet.sh script
  3. Run the Midlet using the runMidlet tool 

Should be straight forward bu unfortunately it seems that there is a documentation and product feature (feature is a known bug) that the runMidlet tool is not behaving according to documentation. And after posting my problem to the Java ME Embedded forum I got the solution. So step #3 should be something like this instead:

sudo ./run.sh -1 com.sun.midp.appmanager.AmsLauncher -launcherMode 2 tmp36rpi.IMlet 

I also learned that the permission of the jwc_properties.ini file can produce interesting error messages, that's why I am using sudo with all commands.



Andy's blog about the world of embedded Java, Oracle Java Cloud Service and my more fun things!


« June 2016