BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
als580 Offline
Knows Where the Search Button Is
 
Posts: 26
Join Date: Mar 2007
Location: Houston
Model: 8320
PIN: 204B0A6A
Carrier: t mobile
Default jar help!!! - 04-17-2007, 09:16 PM

ok, so i purchased the vampent mobile emulator because i heard that i could use it on my pearl.
i got it and followed the instructions that came with it in the readme file.
now i have it compiled and ready to go, but i cannot download it onto my phone, it does not show up on desktop manager, i also tried puting it on my mem card and tried going into explore to install it through media, but when it starts installing, i get the message "failed: 907 invalid JAR error!: control folow verification infromation too large"

how do i get it to install correctly?
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
b_d0za Offline
Talking BlackBerry Encyclopedia
 
Posts: 238
Join Date: Mar 2007
Model: 8100
Carrier: T-Mobile
Default 04-17-2007, 09:47 PM

.jar and .jad are for OTA (over the air) downloads.

.alx with a .cod file will allow you to use app loader in DM to install.

First thing you might want to try is to download it from your phones browser. But you say you compiled the jad so... if you download it like this you won't be able to add roms to it...
If you do not have a data plan you can try this. It might be kinda hard, but...

Since you only have the .jar file you will need to use JadMaker to make the .jad file. Here is a download link for the one I use:

Download JADMaker 1.15 - JADMaker creates a JAD file for your .JAR Java Games - Softpedia

Then you will need to take the .jar and .jad file and create the .alx and .cod files. Here is a batch file you can use for that:

Quote:
@echo off
cls
:: get jde location
set jde=
set /p jde=what is the complete path to your Blackberry JDE directory?
echo.
:: get jad and jar locations
set sve=
set /p sve=enter the complete path where your jad and jar files are located:
echo.
:: get the name of the jad and jar files
set jar=
set /p jar=what is the name of your jar file?
echo.
:: copy jad and jar files to the jde directory
xcopy "%sve%\%jar%.jad" "%jde%\bin\"
xcopy "%sve%\%jar%.jar" "%jde%\bin\"
::create the cod files
cd /d "%jde%/bin"
pause
rapc import="%jde%\lib\net_rim_api.jar" codename=%jar% -midlet jad=%jar%.jad %jar%.jar
pause
:: move the cod file to the jad and jar directory
move "%jde%\bin\%jar%.*" "%sve%\"
pause

:: change to the new directory
cd /d %sve%
:: create the new alx file
echo ^<loader version="1.0"^> >%jar%.alx
echo ^<application id="%jar%"^> >>%jar%.alx
echo ^<name^>%jar%^</name^> >>%jar%.alx
echo ^<description^>%jar%^</description^> >>%jar%.alx
echo ^<version^> ^</version^> >>%jar%.alx
echo ^<vendor^> ^</vendor^> >>%jar%.alx
echo ^<copyright^> ^</copyright^> >>%jar%.alx
echo ^<fileset Java="1.0"^> >>%jar%.alx
echo ^<files^>%jar%.cod^</files^> >>%jar%.alx
echo ^</fileset^> >>%jar%.alx
echo ^</application^> >>%jar%.alx
echo ^</loader^> >>%jar%.alx
pause
:end
Just copy this text to notepad and save it as filename.bat and run it. Input what it asks for. Let us know what happens. Good luck.
   
  (#3 (permalink)) Old
als580 Offline
Knows Where the Search Button Is
 
Posts: 26
Join Date: Mar 2007
Location: Houston
Model: 8320
PIN: 204B0A6A
Carrier: t mobile
Default so... - 04-18-2007, 12:24 AM

so what is the JDE directory?

cause im getting an error
rapc is not recognized as an internal or external command

Last edited by als580 : 04-18-2007 at 12:44 AM.
   
  (#4 (permalink)) Old
b_d0za Offline
Talking BlackBerry Encyclopedia
 
Posts: 238
Join Date: Mar 2007
Model: 8100
Carrier: T-Mobile
Default 04-18-2007, 12:41 AM

Sorry, forgot to mention you will need Blackberry JDE. Here is the download link if you don't already have it:

https://www.blackberry.com/Downloads...359F4AE7BD7BA1

Select the "Blackberry Java Development Environment v4.2" or maybe 4.2.1 will work, I'm not sure.

Download and install it and reboot your pc if it asks or tells you to.

The complete path the the jde directory will be something like:
C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0

When asked for the name of the jar or jad file. Type the file name without the .jad or .jar extension.

Let me know how you do.

Last edited by b_d0za : 04-18-2007 at 05:09 PM.
   
  (#5 (permalink)) Old
als580 Offline
Knows Where the Search Button Is
 
Posts: 26
Join Date: Mar 2007
Location: Houston
Model: 8320
PIN: 204B0A6A
Carrier: t mobile
Default new error - 04-18-2007, 03:35 AM

ok, so the new error reads

'rapc' is not recognized as an internal or external command, operable program or batch file
   
  (#6 (permalink)) Old
b_d0za Offline
Talking BlackBerry Encyclopedia
 
Posts: 238
Join Date: Mar 2007
Model: 8100
Carrier: T-Mobile
Default 04-18-2007, 03:12 PM

Sounds like you are entering the wrong path to the JDE directory.

I accidentally told you above to include the bin folder. Leave it out and it should work. So the complete path to your JDE directory will just be something like this:

C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0


I usually go to My Computer, then my hard disk drive (mine is C, yours may be different), then Program Files, then Research In Motion, then Blackberry JDE 4.2.0. Now I'm in that directory and I can just copy and paste the address from the address bar and right click on the CMD prompt and select paste.

It should eventually say "no errors" and the .alx and .cod along with some other files will be in the same place as the .jar and .jad files are.
   
  (#7 (permalink)) Old
als580 Offline
Knows Where the Search Button Is
 
Posts: 26
Join Date: Mar 2007
Location: Houston
Model: 8320
PIN: 204B0A6A
Carrier: t mobile
Default 04-18-2007, 07:35 PM

Alright, ill try when I get home using the file path without the bin extension, I know I was adding that after jde 4.2.1, ill post again with my results


8320 / 1 gig micro sd / bis
   
  (#8 (permalink)) Old
als580 Offline
Knows Where the Search Button Is
 
Posts: 26
Join Date: Mar 2007
Location: Houston
Model: 8320
PIN: 204B0A6A
Carrier: t mobile
Default 04-18-2007, 09:01 PM

ok, its works now, and lets me register


8320 / 1 gig micro sd / bis
   
  (#9 (permalink)) Old
stask33 Offline
New Member
 
Posts: 1
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: AT&T
Default 07-18-2007, 01:08 AM

i cant get this to work
i keep getting an error like u did earlier
   
  (#10 (permalink)) Old
b_d0za Offline
Talking BlackBerry Encyclopedia
 
Posts: 238
Join Date: Mar 2007
Model: 8100
Carrier: T-Mobile
Default 07-19-2007, 11:54 AM

check the jde directory path. If it is wrong you will get that error.

Also, this doesn't work for every game. As a matter of fact it doesn't work for a lot of games I have tried, but if they go through with no errors they usually play fine on the pearl. Good luck.
   
  (#11 (permalink)) Old
SoUnCool Offline
Talking BlackBerry Encyclopedia
 
Posts: 261
Join Date: Feb 2007
Location: Toronto
Model: 8800
Carrier: Rogers
Default 07-31-2007, 04:49 PM

and what if i only have JAD file?
   
  (#12 (permalink)) Old
b_d0za Offline
Talking BlackBerry Encyclopedia
 
Posts: 238
Join Date: Mar 2007
Model: 8100
Carrier: T-Mobile
Default 07-31-2007, 07:54 PM

Quote:
Originally Posted by SoUnCool View Post
and what if i only have JAD file?
EDIT: READ MY NEXT POST

Last edited by b_d0za : 08-01-2007 at 09:43 PM.
   
  (#13 (permalink)) Old
b_d0za Offline
Talking BlackBerry Encyclopedia
 
Posts: 238
Join Date: Mar 2007
Model: 8100
Carrier: T-Mobile
Default 08-01-2007, 09:40 PM

WHOA, Sorry. My previous post, which I erased was incorrect. If you only have the jad file I don't believe it will do you any good, but I may be wrong.

Last edited by b_d0za : 08-01-2007 at 09:43 PM.
   
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-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1