Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Member
Posts: 1
Registered: ‎04-19-2012
My Device: 8900
My Carrier: vodafone

Getting error while compiling using rapc

I gave the following command to generate cod file


D:\j2me\j2meSoftware\For Blackberry\BlackBerry\bin>rapc import="C:\temp\net_rim_api.jar" jad="MCSMobileJ2ME.jad" codename=MCSMobileJ2ME -midlet D:\j2me\Product\workspace\MCSMobileJ2ME.mtj.tmp\emulation\MCSMobileJ2ME.jar


It gave following error. I am using midlet. My class MCSMobileJ2ME extends MIDLet.

What is the init member it is searching and why it is searching in rim.resources with my class name appended?

com.rim.resources.MCSMobileJ2MERIMResources: Error!: Class: com.mcs.mobile.midlet.MCSMobileJ2MEMidlet has no member: <init>