Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Running my IMLet on the Raspberry Pi

$
0
0

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


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>