Problems of libraries Java build path. With the help of an external CONTAINER as a library in a BlackBerry app.

Hello

I have two codes, the application code and the code of the library.

The application should use the jar as a library file.

Application-> App

Library-> AppLib

I work with Eclipse and JRE 5.0. I have a problem. I'm trying the AppLib.ja the Java Build Path of the application code, as in a normal Java application. Copy "AppLib.jar" in my project and select Java Build Path libraries does not work. Browser files doen't show me the new file. Therefore, I can select the library project folder as external JAR, but when I test the app on BlackBerry I get an error do not find the module:

> App starting error: Module 'AppLib' not found

To export my application for BlackBerry I only select the file "App.alx" with the Desktop Manager. I should also add, somehow, the Jar file?

What I am doing wrong?

I think if I could include 'AppLib.jar' because no JAR external to compile the project would be expected for that library properly in the "App.alx" but as I have said, for example, if I put the "AppLib.jar" in the folder "App\ lib\" file path browser version does not show me the file and I can't select it. I can only do so if I select in the AppLib\deliverables\Standard\5.0.0\, but not found problem occurs then.

Can someone help me?

I won't put my library code in the application code. It is not very comfortable. And it would be a bit dodgy.

Thank you very much.

Greetings.

ibarrera, that is not the problem.

First, when copying a file to your project via the OS Explorer, you must refresh the project in Eclipse in order to get visible. otherwise, if the Eclipse do not see, the .jar file is not going to join your project. But I know that's not the problem.

In the second place, to get this .jar file be included in your project as non-external, you must add as first external, close this wizard properties re-open; Then select the .jar file, you just added and click on "Migrate JAR file" button. Find the .jar file in the project and click Finish.

This is done, your project will be ready to be built and executed.

I hope this helps. Good luck to all.

Tags: BlackBerry Developers

Similar Questions

  • With the help of QNX classes in a Flex library project

    In order to deploy on multiple platforms, I'm building my application "headless"; changes of main application based on the OS class, I'm to deploy, but the underlying library remains the same. I have my classes of library in their own Flex library project and specific classes of Playbook in their own project. Currently I can not all classes of QNX to appear inside my library project, but they appear fine in my main application project. I have the main application and library using the Playbook SDK 0.9.1 projects.

    Is there something special I need to do for a project of library in QNX classes, or am I missing something obvious? Thank you!

    Hey,.

    the screenshots that I showed you were from my application for flash builder 4.5 burrito. If the menus are a little different. It's my flash builder 4.0.1 application menu:

    and with libraries extended:

    from the looks of things, your SDK have not installed or is not read correctly. you follow and do all according to the start-up for windows guide? Good luck!

  • With the help of an external backup drive

    Hi, I have stored all my Lightroom images in an external drive and have also saved them in a second external hard drive. Only the Lightroom Catalog is currently stored in the internal drive, it will be saved in another external drive in the near future.

    I have a question; What happens if my external hard drive fails. How can I access Lightroom images from the external hard drive to backup. Could someone please indicate the steps I have to take. For more information, two external drives are synchronized using free software Allway Sync.

    Thanks to you all.

    dj_paige wrote:

    you do this in the Lightroom folder Panel, you right-click on the top-level folder and select "Find Missing folder

    Please excuse my ignorance. I have connected the backup drive to the computer and click with the right button on the top-level folder, but what's next?

  • With the help of an external source via Photos on Mac app

    Hi all!

    Anyone know if it is possible to have photos of access app Photos from a different source? Currently the photos app will see what's on your device. However, I have a 128 GB Macbook so do not keep my photos out there. I'm looking for a way to access my photos through the WD My Cloud drive I have through the Photos app. The reason for this is that I was hoping to use iCloud sharing photos so I can edit photos with my iPad and then extinguished by e-mail and post them on my Mac. I also prefer the Photos app on all devices on WD my cloud application.

    I know it sounds a little confusing, but I'm happy to explain to someone who doesn't quite understand how I explained.

    Thanks in advance!

    Yyour entire library of Photos can be moved to an external drive. Just copy it to a new drive, then double-click the photo library file. This will 'learn' Photos where the pictures are stored.

    When you enable iCloud photo library on your Mac and your devices, you will indeed have access to all your iCloud files.

    One caveat: iCloud library is NOT a solution to backup for your item photos and videos. You should always set your library of Photos on your Mac to original copy. It's OK to keep your libraries on the as optimized device. It will keep the storage space on the iDevices.

  • What operating system you format a disc is important? With the help of an external box.

    I was wondering is it questions that BONES a person format a drive in?

    Using my laptop which has Vista Home Premium 64-bit of pre format internal disks and some internal drives in enclosures for use with XP Home Edition 32-bit and switch external references between them.

    I think the only thing that matters is the MBR or GPT and 2 TB or more. Go choose MBR and they are 2 TB or less. 7200 RPM.

    Also out of curiosity, are there any editions of Windows that, for some reason, create a problem?

    Hello, Brian V V,.

    It would not matter which drive shape you as long as his intern. Also it is not dependent on any version of Windows.

    You can go ahead and the value of the player or the primary partition and go on the Windows installation.

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • HP DV6 recovery HELP! With the help of an external display because of the screen broke

    Hello and thank you all,

    So I have a dv61149 windows7 running with a broken screen, the screen has not been a problem so far that I have an external monitor via VGA. Now I have to do a cover of the factory, but I don't see what I do once my computer reboots into recovery!

    HP Recovery Manager says his will reboot in recovery environment, very cool. but I'm sure theres buttons to hit after the reboot... so. pWnd?

    Thanks for the reply but I fixed it myself. I could not buy a new screen. obviously. so I disassembled the laptop computer and completely deleted my screen. now when I boot, the computer can't find it so it automatically sends out video via vga. I see same BIOS now.

    Hope this helps anyone else with this problem. take apart seemed to be a huge task but it wasn't bad at all, my computer pretty much had like 15-20 screw the rest just broken into pieces and broken back together, it was pretty easy.

    using HP DV6 1149WM

    Good luck

  • With the help of 2 external hard drives

    I want to connect 2 external hard drives (OWC Mercury Elite Pro) to my iMac.  I use one for the pictures and the other for the safeguarding of the iMac.  The two hard drives come with FireWire, USB 3 cable also.  Is it possible to connect the two leads one to the other with fireware, or do I need to connect one with firewire and other separately with USB? I would like to get the speed of firewire to both if possible.

    Thank you

    Martha Lyle

    Yes, you can connect in series up to 70 FireWire devices. Plug a drive in firewire on Mac port and the second in unoccupied left FW of the first drive.

  • With the help of an external file for the main content

    Hello

    I wish that the content key to a file (most likely a Word) that can be created in word and then placed in the main content of the home page. Then when my client modifies the Word document it can replace it by it FTP'ing in a folder of documents on the hosted server.

    In the end, I would have preferred that it connect to the Web site hosted, connect you to the space where it wants to make changes, and then save. (I'll ask another thread)

    Thank you

    Steve

    Hi Steve,.

    I remember this thread: http://forums.adobe.com/message/3049247#3049247 with this trick:

    Re: Connect to the remote server and edit content on a web page
    You can also try some of the free solutions out there like

    http://www.CushyCMS.com/

    Hans G.

  • With the help of an external numeric keypad with L10

    How is it possible without using the FN + F10 key. Tecra a2 has a setting to Toshiba hardware level to activate an external keyboard how to get this model doesn t?

    Hello

    Sorry, but I don t know what you mean exactly. The combination FN + F10key enable the use of the symbols of hail (gray color). If you want to use the external keyboard just connect and install the driver if necessary.

    As you all know Toshiba laptops don't have the same preinstalled software (like HWsetup). This kind of software is preinstalled on the class divisions which are dockable like Tecra, Portégé or same Satellite Pro. L10 is not business class, and I assume that this is the reason why this option is not available.

    Good bye

  • With the help of test even contained main and test-out option

    First Captivate doesn't let me use the same test in the test-out section and in the main content section. I tried to rename the test 9 Captivate and download the renowned test but CP said that I had already downloaded the test. How can I use the same test in the two sections?

    Hi Helen,

    We are aware of the issue of Cp and to work fixing it. At the same time, as a work-around, you can publish your project on computer and the first browser upload. Then download the same file again, like any other module. After that, you can add a Test module and a module in the "content" section.

    Hope this will help you.

    Kind regards

    RUCHI Roulin

  • GlassFish tools does not provide a Server Runtime for Java Build Path

    The server can be added to the servers see and start and stop works very well.

    However, adding the server to the classpath of a such project does not work:

    1. Right click on project > Properties
    2. Select Java Build Path
    3. Select the libraries tab
    4. Click Add library...
    5. Choose Server Runtime

    Real: The selection dialog box is empty.

    Expected: The dialog box lists a duration of GlassFish 3.1.

    Thus, the classpath does not contain the Java EE and API JPA, resulting in compilation errors. This allows to work with older versions of the plugin (for example that of http://download.java.net/glassfish/eclipse/indigo).

    The problem is at least in the following configurations:

    • Eclipse 4.3 RC3 with GlassFish tools 6.0.2.201306071627 and 3.1.2.2 GlassFish Server
    • Eclipse 4.2.2 with GlassFish tools 5.2.2.201305291930 and 3.1.2.2 GlassFish Server

    One ugly solution (until this problem is corrected) is to manually add the following (or more) pots via external Jars Add...:

    glassfish/lib/javaee.jar
    glassfish/modules/org.eclipse.persistence.core.jar
    glassfish/modules/org.eclipse.persistence.jpa.jar
    glassfish/modules/org.eclipse.persistence.asm.jar
    glassfish/modules/org.eclipse.persistence.antlr.jar
    

    The problem with the above is that it adds absolute paths to the .classpath and therefore cannot be committed to the repository.

    What is the problem? This GF is not available as a Server Runtime (question at the beginning of the thread) or the problem of classpath with GlassFish System Libraries?

    The problem with GlassFish libraries on the system works is not with the flag of the export has been resolved. The old method of being able to add libraries system GF to any Java project without targeting GF won't.

    I see that 6.0.3.201306271729 has been released, does it include the fix?

    The pre-release version you are referencing does indeed of this fix.

  • With the help of pre-build action to display the svn version number

    Hi people.

    I was thinking about using a pre build action to display the current number of svn on the front panel. I have a vi that can get the current number of svn. However, the problem is how to establish links with the application. Is there a way that before the generation can provide the data to the executable file, or what I have to write to a file and then the executable read each time it starts.

    Thank you

    Select this option.


  • With the help of 1.7.0_07 - b11 version JRE Java hotspot Client VM

    I can't use by net cooking system indicates error java and java download does not work with my system with windows 7 giant premium 64 bit computer laptop.

    REPRT ERROR:

    Java plug-in 10.7.2.11
    With the help of 1.7.0_07 - b11 version JRE Java hotspot Client VM
    Home Directory user = C:\Users/
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on the finalization queue
    g: garbage collection
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: Hide console
    r: reload the policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: delete the cache of class loaders
    0-5: set the trace level

    Hello

    1 are you facing this problem with a specific Web site?
    2 are you having the same problem on other browsers as well?
    Please follow the links below to solve the problem.
    Method 1
    How to troubleshoot script errors in Internet Explorer
    Note: follow the steps as troubleshooting applies to JAVA issues.
    Step 2
    How to enable Java in my web browser?
    Method 2
    If you still face problems, please uninstall and reinstall JAVA
    Remove all traces of the failure of the Java installation by uninstalling Java:
    Install Java
    I hope this helps.
  • Merge paths with the same fill color

    Hello

    I'm trying to use pathfinder to merge paths with the same colors. I have a lot of colors, so that Select > same fill color would solve my problem, it is very slow.

    My typical workflow is basically by selecting the same colorful and using pathfinder (unite) paths to combine. If the paths have different colors that he would do all the unique color of merged paths. It does not work.

    I want to combine only the paths with the same fill color with the other, but I couldn't come up with a good workflow.

    Someone had a similar problem/situation? What are my options?

    I appreciate all the help.

    Screen Shot 2016-03-23 at 11.37.03.png

    Select all, and then click 'Merge' pathfinder

  • SVN: #155021. You cannot update this file with the help of Dreamweaver Subversion integration because a new Subversion client application on your machine has made updates to the file Subversion meta data. For more information on this problem

    Can Hello anyone help?

    After you configure Subversion in Dreamweaver, I get this error again!

    SVN: 155021 #. You cannot update this file with the help of Dreamweaver Subversion integration because a new Subversion client application on your machine has made updates to the file Subversion meta data. For more information about this issue, see http://www.adobe.com/go/dw_svn_en.

    even after following the instructions http://www.Adobe.com/go/dw_svn_en Download the extension, python change the var in windows to say «;» C:\Python26'

    with & without quotes, with or without; before C

    command > comparability of Subversion to get the following error "the Conversion process has failed. Please make sure you have Python installed and you check Python PATH parameter'

    I managed to get all the files after the installation, I locked, unlocked and commit a file to test fact so that was all works well, the only part I'm not retrieves the latest version, this is because Subversion is 1.6.2 and dreamweaver must revert to the version 1.4.5 on local to work, the compile someone at - it an idea what to try next in order to make it work?

    Just a reminder!

    1. I configure Subversion through guidelines on http://help.Adobe.com/en_US/Dreamweaver/10.0_Using/WS80FE60AC-15F8-45a2-842E-52D29F540FED. html
    2. I managed to get the latest SVN version
    3. Lock, unlock and commit a file
    4. Installed Python in C:\Python26 change the path in windows system properties > advanced > Environment Variables > system variables > New > Python =; C:\Python26 also C:\Python26
    5. I also tried the same thing in the User Variables
    6. Installed the extension DW Subversion compatibility

    7. Tried to run the compatibly with the command > Subversion comparability in DW

    Welcome any suggestion to solve this?

    Hello

    There has been a lot of problems using svn with dw, and I know many people who have stopped trying to operate correctly.

    As much as I know dw will not work with newer versions of svn (over 1.5), and even then, there are a lot of problems, a possible solution is to try subweaver (at- http://code.google.com/p/subweaver/ ), as this has solved some of the problems associated with the use of tsvn dw environment.

    PZ

Maybe you are looking for