Try to include external jar in Eclipse IDE, but it does not work

Hello world

I try to use the BB for Eclipse plugin.  I saw the other posts in the same direction as mine, but nothing seems to solve the problem or the person was referring to an older version of the plugin.  I try to include a jar named J2meMap_lib_cldc11.jar.  Here's what I've done so far:

I created a new Blackberry project called J2MEMap.

I right-click on the project and select Properties.

I go to the Blackberry project properties. Click on the Application tab.

Under Project Type, change in library.

Then, I go to the Java Build Path.

I go to the library and add the jar as an external library file.

Click OK.

Then, I create a new Blackberry project named MyApp.

For this one, I'm doing a moped.

In the Java Build Path, I add the J2MEMap project as a project dependency.

First thing I notice is that MyApp has compilation errors because he doesn't seem to find the jar file in the other project.  If I look in the Console of the Blackberry manufacturer, I see the following error when I Isaiah to compile the J2MEMap project:

C:\programs\opensource\eclipse\plugins\net.RIM.Eide.componentpack4.5.0_4.5.0.16\components\bin\launcher.exe C:\programs\opensource\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\rapc.exe-silencieux import =...... \.. \.. \.. \.. \programs\opensource\eclipse\plugins\net.rim.Eide.componentpack4.5.0_4.5.0.16\components\lib\net_rim_api.jar;...... \.. \.. \.. \.. \programs\opensource\j2memap\sdk\cldc11\J2meMap_lib_cldc11.jar library =... \J2MEMap\J2MEMap warnkey = 0 x 52424200; 0 x 52435200; 0 x 52525400 - sourceroot = C:\Local\develop\eclipse\workspaces\psu\J2MEMap\src C:\Local\develop\eclipse\workspaces\psu\J2MEMap\bin
Error! : not found of course
CAP has failed for the project J2MEMap

Previously, I did not receive this error, but I began to acquire a reason any.  I am able to generate the Midlet example that comes with the JDE and deploy and run on the Simulator.  For some reason, I can't get libraries to work properly.

Thank you

Eric

In fact, I thought that I'm answering my own question in case someone else has the same problem.  In the library project, I had to go to the project properties and go to the Import/Export, and then select the external jar as one of the elements that must be exported.

Thank you

Eric

Tags: BlackBerry Developers

Similar Questions

  • Try to download and install Windows Live Messenger, but it does not work.

    Original title: im trying to download windows live messenger but his does not work although the Messenger, I was downloading is compatible to my pc

    How can I install windows live

    Hi asian1955,

    Have you tried to download Windows Live from here: http://explore.live.com/windows-live-essentials?os=other this is the latest version of Windows Live. Once you start to install, simply install the components you want, there is no need to install anything if you do not need.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Desktop Experience: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • I keep on getting error 0x6D9 and 0 x 80070424 code when you try to activate my windows firewall, also my mcafee firewall does not work.

    I keep on getting error 0x6D9 and 0 x 80070424 code when you try to activate my windows firewall, also my mcafee firewall does not work. I have Windows 7 and it started only caused since last week. Can someone give me an idea on how to solve this problem?

    When you have McAfee running, he provided the Firewall & automatically deleted the Windows Firewall.   Panel\Windows Firewall control page should have shown a message say.  If you managed to change the settings for the Windows Firewall then you might have corrupted both the McAfee & Windows Firewall.

    I really think you should try a restore for some time point before you tried modifications, if that is even possible.

    If you have uninstalled McAfee Control Panel, programs, then you must also run the Tool McAfee Consumer Product Removal or you will get several unpredictable problems.

    If you still have problems after running the McAfee tool then it could be the result of the previous Windows Firewall changes & the corruption of the system resulting.  Your system is in an unknown state as a result of these changes.

    You can try running SFC/scannow in an admin command prompt, but it wouldn't do any good.

    You may need to use the installation DVD to do a repair installation.  I hope get you lucky, but you may need to do a complete reinstall of Windows.

  • HP 7612: I have a 7612 Officejet from HP that worked wireless but now does not work. When I try to

    I have a 7612 Officejet from HP that worked wireless but now does not work.  When I try to open the Network Setup Wizard a message indicating "wireless communication has been disabled. Can someone please?

    Thank you!

    hhmenar

    Hey @hlhmenar,

    Welcome to the Forums of HP Support!

    I understand that you are experiencing some problems with the wireless settings is disabled on your Officejet Wide Format e-all-in-one printer. I can help you with that.

    I'll send you some instructions describing how to do a factory reset on your printer. If you check your Inbox of forum you should see happens shortly.

    Please let me know the results after following the above. If you can run the wireless setup, click on accept solution. If you appreciate my help, please click on the thumbs up icon. The two icons are below this post.

  • Online games, when they pop up, they are so small, you can barely see them. I just downloaded Win 7. And I tried to adjust the themes Aero back to basics. But it does not work. any ideas?

    Yet once, when I go to online games and most of those who pop up a new window, the game is so small, that I can barely see it. How to fix this. Tried to compensate for the Aero themes, but it does not work. What I missed... Any ideas how to change these sizes?

    Hi MaureenAnn,

    Welcome to the Microsoft Answers Community Forum site!

    In order to resolve your issue, please provide additional information;

    1. What is the game you are trying to play?
    2. Faced with this problem while playing games?
    3. It works correctly when you play a game stored on a computer?
    4. Was there any recent changes/updates / drivers installed on your computer?

    If you are facing this problem, only with online games, suggest to enlarge the page by clicking on the icon zoom on the lower right of the browser.

    Allows you to change the screen resolution by clicking Customize desktop by right-clicking on the desktop.

    In addition, we suggest you to optimize internet Explorer and check if it solves your problem. To optimize internet Explorer, I suggest you visit the below mentioned link.

    http://support.Microsoft.com/kb/936213/

    I hope this helps solve your problem!

    Thank you best regards &,.

    Calogero - Microsoft technical support.
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

  • Try to uninstall Adobe photoshop CS (v. 8), but it does not work

    I have a DELL Inspiron 530 under Win Vista. I try to uninstall Adobe Photoshop CS (v. 8) using the Control Panel, but it does not work. Any suggestions?

    Yes. Photoshop CS, Photoshop 8 was renamed in 2003.

    It is compatible with Windows 7.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/details.aspx?type=software&p=Adobe%20Photoshop%20CS&v=Adobe&UID=8&l=en&PF=1&PI=4&s=Photoshop&OS=64-bit

    If you install an upgrade, you can keep the programs installed.

    If you perform a custom installation, it matter when even because everything will be overwritten.

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

  • I try to use a pro 7 product key offical windows to activate windows 10 pro, but it does not work?

    I try to use a pro 7 product key offical windows to activate windows 10 pro, but it does not work?

    If I search on possible improvements, he says it should work?

    Try the chat support:

    Activate your Windows 10 license with Microsoft Chat support

  • I converted the text to the shape in illustrator and I try to apply a dotted around the shape; However, it does not work.

    I converted the text to the shape in illustrator and I try to apply a dotted around the shape; However, it does not work. Maybe I'm missing a step? Any suggestions?

    Capture.PNG

    The settings that you should should work. I agree with sisham, to keep things simple and only put 5 in the first 2 fields, or your H will resemble each other.

    Now, you must have something else, and I suggest you select the element and to dissociate in the appearance menu > clear appearance. Then apply the dotted line.

    If you can post your file, am sure we could find what is worrying, but my guess is you have your dashboard applied, and which is overridden by a stroke applied to the group or level of the layer and dashboard you

  • How is the Wiki of Adobe Photoshop CS5 included Acrobat Pro 9.3, said but mine does not include it?

    I was reviewing what is supposed to be included with Photoshop CS5 and it says it includes Acrobat Pro 9.3 but mine contains only Photoshop.  Mine is an update for CS3 but what matter?  The matrix shows CS5 CS5 contains 9.3 but mine does not work?

    You may be confusing version of Photoshop CS5 with the Creative Suite CS5.

    "By all means show us only" ""Wiki " link that that you are referencing.

    Also explain where and when you bought your software.  CS5 versions are obsolete and not supported and have not been sold by Adobe for years.

  • When I try to update creative cloud, I get a popup to connect, I get my Adobe password, but it does not work. I have reset my password and I tried again, but it still does not work.

    When I try to update creative cloud, I get a popup to connect, I get my Adobe password, but it does not work. I have reset my password and I tried again, but it still does not work.

    The password screen shake when you enter the password?
    If so, it asks your Mac password.

    Don't worry about file opm, Adobe recreates him when you try to connect.

  • External Combo CD-RW/DVD-ROM drive does not work with USB 1.1

    Hello world

    I have a problem with the PA3352E - 2 CD 2 CD-RW/DVD COMBO USB 2.0. A colleague is owner of this car and use it on a NB DellC610 with Windows XP on it. The problem is that the drive does not work with this type of nb (with a NB from Fujitsu-Siemens newest there no problems); There is always an error message about "surge." I think it has to do with the USB 1.1 because the player seems to be built for USB2.0. Is it possible to use this drive correctly with usb1.1 (ok, the flow is low, but more important is it works in general)? Unfortunately his nb will not work with USB 2.0...

    Thank you very much in advance.

    Kind regards
    Steffen Rieger

    Hello

    AFAIK this external must have a power adapter. You use it too? I'm not 100% sure, but there are difference how much power Gets the USB slot. Toshiba notebooks is around 500 my and some producers another laptops send between 300 and 500 my. The external device requires approximately 700 my.

  • In Windows 7, try to re - activate windows search, but it does not work

    I disabled Windows Search by going to the control panel => turn Windows on or off features => Windows Search and by unchecking the checkbox.

    I'm trying now reactivate it by putting a check in the box. It does not work. When I click OK, if I re - open the window, the box is gone again.

    I looked in Services for the Windows Search service, and there is no.

    Any help would be appreciated.

    It is indeed strange.  My two immediate suggestions would be to try the troubleshooter to search in the control panel............... but since you can't even activate that I am doubtful that would help.

    Secondly, and probably more likely to accomplish something, I would try the system restore in the start menu.  Since you can't use the instant search on the start menu, I think it's under Accessories, then system tools.
    Just open it, choose a date before the power off of search and click Next. The entire restoration takes about 2 minutes and will not affect your files, it just re - sets Control Panel.
  • "Include the header row in the following Pages" does not work for the table

    Hello

    I use the 8.1.2.3337.1.509884 version.

    Pagnation function "include header line in the following Pages" does not work for any table in my design. (the check box cannot be verified little matter how many times I click it)

    I put such table already in a bodypage flow.

    Any reported similar problem?

    Any suggestions?

    Thank you.

    -Vicky

    The only thing I can think is that your table is not in a subform flowed. Who will stop the check boxes.

  • Beta 4 - Momentics IDE seized semiautomatic does not work for Qt classes in the newly created projects?

    After you have uninstalled the Beta 3 Momentics IDE und install the new beta 4, I noticed that the autocompletion of the IDE not working anymore for Qt classes when I create a new project from a template (empty or non-empty). It seems that the IDE cannot find the Qt header files:

    But I can compile the project without problems.

    When I import my old projects created with the Beta 3 of the autocompletion also works for Qt classes. When I compared to them, I noticed that the Makefiles have changed completely.

    Of course I could stay with my old project structure, but the Release Notes for the Beta 4 mention something about the changes in the Qt libraries, pre-compiled headers and so on who might require changes in Beta 3 projects. To avoid problems, I thought I could just create new projects in Beta 4 and re-import my source files for my Beta 3 projects. But I want to keep the autocompletition for Qt classes.

    I guess it's just a problem in files created automatically from the project. Is there a way to remedy?

    Thanks for your replies. The trick to rebuild the index was useful, but does not solve the problem in itself.

    But comparing all files in some of my old projects of Cascades generated in Beta 3 and newly generated in Beta 4, I found that in the Beta 4 project files .cproject, missing several tags that setting the include path for Qt for the IDE headers. Note, I'm not referring to the railways include the settings of the compiler here. Just autocompletion and also the analysis of the code in the IDE has not worked.

    In any case, to solve this problem, I found the following solution:

    There are four instances of these tags in the file .cproject of a Cascades (beta 4) project:

    
    

    Where NNNNN is a number randomly. When I change all these 4 cases to:

    
    

    .. .then they review as they did in the Beta 3 and then refresh the project or restart the IDE autocompletion all started working again for new projects of Beta 4. When I then invoke Index-> reconstruction such as recommended in the other thread also the analysis of the C++ code for the work of syntax errors and semantics again (if you have enabled in the IDE).

    I suppose that these lines could also be included in the model files somewhere in the NDK of BB installation folder, but I didn't fix files it.

    I have submitted a new question here:
    https://www.BlackBerry.com/jira/browse/BBTEN-466

  • I get an error message saying that firefox is already running when I try to open it, but firefox does not work it became more frequent in the last week

    When I try to open firefox, the firefox message is already running on this computer I had a few times in the past, but it has become more common recently. I know that the application is not running. Thus, the only cure is to restart my computer then it's ok.

     hoping someone can help
      kind regards Paul
    

    Probably a process firefox.exe "hung."

    Firefox crashes when you close

Maybe you are looking for

  • Cloud TV - is - anyone tried the Plex app?

    I just discovered a new application of Plex on cloud TV. It's only for the plex subscribers pass which I am not. Anyone tried the Plex app? I hope those who work on the app made freely available soon.

  • Search and replace the string formatting

    Hello I try to do a search and replace the formatting of a string. In the example, I'm looking for the string 'SUCCESSFUL', but it must also begin by usbflash and some number + PASSED. I can't get the format to have a number between 1 and 99. The num

  • Execution time NI VISA for WinXP/7 and 32-bit/64-bit

    Need a VISA run-time engine forWindows XP 32-bit ANDWindows XP 64 bit ANDWindows 7 32 bit ANDWindows 7 64 bit The calling process is done in 32-bit mode. This process works for all 4 of the above combinations Can a VISA run time output for all 4 oper

  • 5520 Photosmart HP e-All-in-one: only print first page

    I am trying to print a copy of a statement online and my printer prints the first page and then stops.  I don't see any error anywhere.  It is connected wireless.  Thank you.

  • Driver required for HP-15af024AU wireless network card

    I use the laptop above using Windows 7-32 bit. I need driver network card wireless with the hardware ID PCI\VEN_10EC & DEV_B723 & SUBSYS_804C103C. Experts, please give me the link to what precedes. Thank you.