Skip Headers
Oracle® Java ME Embedded Getting Started Guide for the Reference Platform (Raspberry Pi)
Release 8 EA 2
E48512-02
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

Beta Draft: 2014-03-25

3 Troubleshooting

This chapter contains a list of common problems that you may encounter while installing and running the Oracle Java ME SDK and embedded software on the Raspberry Pi board. This chapter provides information on the causes of these problems and possible solutions for them.

The common problems in this chapter are grouped in four categories:

Installing Linux on the Raspberry Pi Board

Table 3-1 contains information about problems and solutions when installing Linux on the board.

Table 3-1 Problems and Solutions - Installing Linux on the Board

Problem Cause Solution

Red power LED is blinking.

The power supply is malfunctioning.

Replace the power supply.

Red power LED is on, but there is no activity from the green LED.

The Raspberry Pi cannot find a valid disk image on the SD card.

Be sure to use a special disk image utility to write the Wheezy disk image onto the SD card. Do not copy the IMG file onto the SD card and attempt to use that to power up the board.

Green LED blinks with a specific pattern

A file needed by the Raspberry Pi is missing or corrupted.

Replace the following files:

  • 3 flashes: loader.bin not found

  • 4 flashes: loader.bin not launched

  • 5 flashes: start.elf not found

  • 6 flashes:start.elf not launched

  • 7 flashes: kernel.img not found


Starting Oracle Java ME Embedded on the Board

Table 3-2 contains information about problems and solutions when starting the runtime on the board.

Table 3-2 Problems and Solutions - Starting Oracle Java ME Embedded on the Board

Problem Cause Solution

Oracle Java ME Embedded applications will not start.

The permissions on the distribution files are not set correctly.

Reset the permissions on all files in the distribution to 777.

Oracle Java ME Embedded fails to initialize the network on the board.

The network configuration is incorrect.

Check that the network connection is correct. Ensure that the board is using DHCP to obtain an IP address.

The Raspberry Pi desktop does not start after booting.

The Pi does not have the startup sequence activated.

Use the Raspberry Pi setup application to set the desktop to activate at boot.


Using the Board with the Oracle Java ME SDK and the NetBeans IDE

Table 3-3 contains information about problems and solutions when using the board with the Oracle Java ME SDK and the NetBeans IDE:

Table 3-3 Problems and Solutions - Oracle Java ME SDK and the NetBeans IDE

Problem Cause Solution

The board is not detected when adding a new device to the Device Selector.

The proxy connection is not enabled or an improper proxy host address is setup in the jwc_properties.ini file.

Ensure that the +UseProxy parameter is present in the run.sh script. Also, ensure the proxy.client_connection_address property is properly configured to use the AMS proxy host address.

The debugging session freezes, disconnects unexpectedly, or shows error messages.

The firewall on the computer is blocking some debugging traffic.

Thunderbird is using a port that is needed for communication with the board.

Open TCP port 2808 on your firewall configuration settings. The exact procedure to open a port differs depending on your version of Windows or your firewall software.

Close thunderbird.exe during the debugging session.