BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-14-2008, 06:55 PM   #1 (permalink)
New Member
 
Join Date: Feb 2008
Model: 8310
PIN: N/A
Carrier: AT&T
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Having trouble using rapc.exe

Please Login to Remove!

Hello BBF, I'm a new owner of a Blackberry Curve 8310 who is trying to get some custom applications on this thing!

I followed this guide to learn how to create .cod/.alx files from .jar files. I got everything installed smoothly, but when I input the command to convert, I get an error similar to "Duplicate definition for 'a' found in: a". I've tried two programs and got basically the same error:

for vnes
Quote:
rapc import="c:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\vnes.jar" codename=vnes -midlet vnes.jar
Reading resource: 1.png
...
Reading resource: 4.png
Parsing classfile: a.class
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: b
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: a
a: Warning!: Duplicate method only differs by return type: b
a: Warning!: Duplicate method only differs by return type: b
Reading resource: a0.png
...
Reading resource: smb3.nes
Reading resource: superbowl.nes
Parsing classfile: vNES.class
Parsing import: c:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\vnes.jar
c:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\vnes.jar(a.class):
Error!: Duplicate definition for 'a' found in: a
for JmIrc
Quote:
rapc import="c:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\jmirc.jar" codename=jmirc -midlet jmirc.jar
Parsing manifest
Parsing classfile: jmirc/a.class
...
Reading resource: icons/jmIrc.png
Parsing import: c:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\jmi
rc.jar
c:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\jmirc.jar(jmirc/a.c
lass): Error!: Duplicate definition for 'jmirc.a' found in: jmirc.a
I omitted some seemingly unimportant output with "...". Is the duplicate .a problem a common one? Is there a fix? Any help or advice would be great.
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.