BlackBerry ClassNotFoundException

5 views
Skip to first unread message

rafa

unread,
Mar 20, 2009, 8:35:51 AM3/20/09
to J4ME
Hi,
I'm trying to run J4ME (from SVN trunk, vanilla) on BlackBerry 8120
simulator.
I compiled the app in eclipse to get the .jad/jar, and used rapc to
get the .cod:
c:\Rim4.3.0\bin\rapc.exe import=C:\Rim4.3.0\lib\net_rim_api.jar
codename=deployed\RimMIDlet -midlet jad=.\deployed\DefaultColorPhone
\J4ME.jad .\deployed\DefaultColorPhone\J4ME.jar

I'm able to run the UIDemoMidlet and the Tests in Sun 2.5.2
simulator.
My problem is when runing the .cod on the 8120 simulator.
I succesfully loaded the java aplication (File -> Load Java
Program...) , I see it in the blackberry, but when I click it to run,
I got "JVM Error 104 Uncaught: ClassNotFoundException ". If I click
'continue' the application starts and works well.
I tried to debug to find the problem, but I do not get this error
when I use the debugger :)
As he application does run, this seems to be a minor problem,
however I'm afraid I'm doing something wrong, that will make my app
not run on a real BlackBerry. Did anyone got this error?
Regards,
Rafa
PS: I tried also in the 9530-verizon simulator: same problem.
Reply all
Reply to author
Forward
0 new messages