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!

--Andy


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>> 

About

Andy's blog about the world of embedded Java

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today