BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-09-2009, 01:19 PM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Location: Toronto
Model: 8700
PIN: N/A
Carrier: Rogers
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Using rapc -> "Warning!: No entry points found"

Please Login to Remove!

For some of my Java apps I am having problems using rapc to create my cod file. I get the following output:

Building Bridlet
C:\SDKs\RIM\BlackBerry JDE 4.6.0\bin\rapc.exe -quiet import="..\..\SDKs\RIM\BlackBerry JDE 4.6.0\lib\net_rim_api.jar" codename=Bridlet\dist\BB460\Bridlet -midlet Bridlet\dist\BB460\Bridlet.rapc warnkey=0x52424200;0x52525400;0x52435200
Warning!: No entry points found
Warning!: MIDlet class is not public: Bridlet.Midlet
Bridlet.Midlet: Warning!: No definition found
Build complete.

Sometimes I only get the first of the three warnings. Either way, the midlet fails to run in my simulator.

Here are the details:

I'm building both MIDlet's and Rimlet's using Blackberry JDE 4.6.0 on Vista SP1., with java 1.6.0_11.

I build the JAR using Netbeans v6.5 (the current version) and then build and sign the COD using the BB IDE v4.6.

For RIMlet's this works fine, it is only MIDlet's that are giving me the problem. One of the differences between the two is that for MIDlet's I have specify the name of the MIDlet class in the project properties. The field is called "Name of main midlet class" on the "application" tab. I'm a bit confused about this field and I wonder whether this is where my problem lies. The SDK includes a sample midlet and it specifies "com.rim.samples.device.midletdemo.MIDletDemo" for this field. This appears to be <package>.<midlet class> so I followed this pattern.

Any suggestions? Thanks.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.