Compile the library program

Is it possible to compile a program as a library in Eclipse?  If so, how I would include it in my application?

To edit a project in a library right click on the project in Eclipse and select Properties.  Then click on the BlackBerry JDE project properties, select the Application tab and set the type of project to the library.

To specify that a project is based on a library of right click on the project in Eclipse, then select Properties.  Then click on project references check your library project.

Tags: BlackBerry Developers

Similar Questions

  • FRM-30312: unable to compile the library in R12

    Hi all

    I want to compile a library of custom in R12. After that I have compiled, a strange error has occurred... Some packages are not available. So I decided to compile a standard library (JE.pll) and the error occurred again. If I wrote $FORMS60_PATH echo nothing appeared. I have to add the path that contains the libraries?

    This is the command I executed
    ---------------------------------------------------

    frmcmp_batch ${1} .pll userid = module_type output_file=/u01/oracle/DESA/apps/apps_st/appl/xbol/12.0.0/resource/${1}.plx APPS/APPS = LIBRARY

    This is the error:
    -----------------------

    10.1 forms (form of the compiler) Version 10.1.2.3.0 (Production)

    10.1 forms (form compiler): Release-Production

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle V10.1.2.3.0 - Production procedure generator
    Oracle 10.1.2.0.0 graphic virtual system Version (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle tools integration Version 10.1.2.0.2 (Production)
    Common tools Oracle area Version 10.1.2.0.2
    Oracle CORE Production 10.1.0.5.0
    Compile the library I...
    Compile the package Spec JEZZ_GL...
    Compile the package Spec JEZZ_AR...
    Compile the package Spec JEZZ_AP...
    Compile the package Spec JEZZ...
    Compile the package Spec JESK_AP...
    Compile the package Spec JERU_SH...
    Compile the package Spec JERU_GL...
    Compile the package Spec JERU_CE...
    Compile the package Spec JERU_AR...
    Compile the package Spec JERU_AP...
    Compile the package Spec JEPT_AR...
    Compile the package Spec JEPL_AR...
    Compile the package Spec JEIT_AP...
    Compile the package Spec JEHU_AP...
    Compile the package Spec JEES_AR...
    Compile the package Spec JEES_AP...
    Compile the package Spec JECZ_AP...
    Compile the package Spec I...
    Compilation of the Package JEZZ_GL body...
    Compilation of the Package JEZZ_AR body...
    Compilation of the Package JEZZ_AP body...
    The body of Package JEZZ compiling...
    Compilation of the Package JESK_AP body...
    Compilation of the Package JERU_SH body...
    Compilation of the Package JERU_GL body...
    Compilation of the Package JERU_CE body...
    Compilation of the Package JERU_AR body...
    Compilation of the Package JERU_AP body...
    Compilation of the Package JEPT_AR body...
    Compilation of the Package JEPL_AR body...
    Compilation of the Package JEIT_AP body...
    Compilation of the Package JEHU_AP body...
    Compilation of the Package JEES_AR body...
    Compilation of the Package JEES_AP body...
    Compilation of the Package JECZ_AP body...
    Compilation of the body of Package I...
    FRM-30312: unable to compile the library.

    Thanks Mariano. -.

    Hello

    What do you mean ¨instead¨? That it is not necessary to set the FORMS60_PATH?.

    If you're on 11i, you must check the value of FORMS60_PATH

    If you're on R12, you must check the value of FORMS_PATH

    In addition, I sent an email to DBA in order to know if we have invalid objects, but I need to insist that the library is standard (JE.pll).

    Just make sure you can get this error FRM if you have invalid objects that may apply.

    Thank you
    Hussein

  • Compiler error of the library for QuickTest Pro automation Plugin files

    I'm trying the Flex Automation Package in the Flex 3 beta (because you do not have to have a license of data services to try it)

    I installed flex 3 beta and the package automation that accompanies it, but when I try to compile the library files, I get "an internal error has occurred. Please consult the error log"and"Unable to load SWC automation.swc.
    The log file has. MESSAGE Uncaught in the compiler exception"as well as all sorts of other info.
    I am trying to use the project > properties > Flex compiler method.

    A strange thing is that I can not reference the swc libraries locally. Flex Builder is installed here: C:\Program Files\Adobe\Flex Builder 3 and the SWCs are here: C:\Program Files\Adobe\Flex Builder 3\sdks\moxie\frameworks\libs, so I tried it - include-libraries "sdks\moxie\frameworks\libs\automation.swc" "sdks\moxie\frameworks\libs\automation_agent.swc" "sdks\moxie\frameworks\libs\qtp.swc" and I always get the error "can't open ' sdks\moxie\frameworks\libs\... '. ' CFC ' "if I put the whole path, the error continues, but I see (listed at the beginning of my post) internal error messages.

    for what it's worth: I tested with http://examples.adobe.com/flex2/inproduct/lcds/flexstore/flexstore.html, QTP and QTP is grateful for the elements in the flex... So I'm sure that the side test is set up right, I can not just to compile libraries in my own projects to test.

    If anyone has had this problem?... or someone can see where I am screwing things up?

    Well... in case that everyone scrolls on this problem, I finally understand how to make it work.

    I was adding only libraries in the section 'Compiler' project > properties. I found that libraries should also be added in the "Library Path" (go to project > properties > Flex Build Path > library path)

    I can now test my projects with QTP.

    However, I do not understand why I can't relatively reference libraries in the compiler section. I always have to enter the full path to the library.

  • frmcmp cannot compile the modules containing SQL code that connected to the database

    Hello

    I checked several hundred messages of the forum on the net without finding a solution.

    I have a Linux server with 11.1 WebLogics (11 GR 1 material) and FormsRuntime installed.

    I am logged in as root.

    I put all the environment variables based on the values in default.env.

    In addition, I updated TERM and ORACLE_TERM vt220. And TNS_ADMIN to the location of the sqlnet.ora and tnsnames.ora.

    I compiled a simple .pll containing only the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    a: = 1;

    END;

    command:

    frmcmp_batch module = TESTLIBPLAIN.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBPLAIN.plx compile_all = Yes = Yes = No. batch connection

    result: successful compilation. generated .plx.

    now, I'm trying to compile an another .pll containing just the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    Select 1 in the doubles.

    END;

    command:

    frmcmp_batch module = TESTLIBSQL.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBSQL.plx compile_all = Yes = Yes = No. batch connection

    result: error:

    "

    11 forms (form of the compiler) Version 11.1.1.3.0 (Production)

    Copyright (c) 1982, 2010, Oracle and/or its affiliates.  All rights reserved.

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

    With partitioning, OLAP and Data Mining options

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.1.3.0 - Production procedure generator

    Oracle virtual graphics system Version 11.1.1.3.0 (Production)

    Oracle Multimedia Version 11.1.1.3.0 (Production)

    Oracle tools integration Version 11.1.1.2.0 (Production)

    Common tools Oracle area Version 11.1.1.3.0

    Oracle CORE Production 11.1.0.7.0

    Compile the library TESTLIB.

    Invalidate the body TEST procedure...

    Compilation of body TEST procedure...

    ERROR on line 5, column 1 0

    Ignored SQL statement

    Library TESTLIB closing...

    Errors on TEST:

    PL/SQL ERROR on line 5, column 1 0

    Ignored SQL statement

    Could not generate the library.

    FRM-30312: unable to compile the library.

    "

    the two libraries differ by having used SQl commands or not.

    I tried to compile some more complex .pll and .fmb containg the SQL code. I get similar error messages. The messages that I receive for each module are the same, I would get when compiling the module with FormBuilder 9i (Windows) without being connected to the database.

    So my first thought was, this frmcmp_batch is unable to connect to the database.

    BUT:

    From frmcmp_batch with an invalid user, password, or database name not existing (resp. not in tnsnames.ora), results in appropriate error messages (not found TNS, refusal to sign etc.).

    With myuser/mypassword@mydb I don' t get this kind of messages.

    sqlplus myuser/mypassword@mydb works.

    myuser can access all objects in the database mydb.

    mydb tnsping works.

    When I check v$ session on mydb while (!) frmcmp_batch is running, I see that it is in fact a db session, created from myuser: DB-User = myuser, terminal = myappsever, osuser = root, remote process = frmcmp_batch.  And State of the current session of the db is ACTIVE.

    As a result, frmcmp_batch fails with error messages that I expect that when there is no connection to the base, if it is connected!

    Any ideas what could be wrong with my setup?

    Help appreciated.

    Jean

    I found the solution. Seems, fmrcmp 11g can connect to, but compiles not on the 9i database. With the help of a Database 11 g resolves the problem :-)

  • Compile 32-bit programs on the cDAQ RT Linux

    I have a (OR-9134) running Linux RT NI cDAQ

    I am unable to get it compile 32-bit programs. The steps I've done were:

    1 used "opkg" to install all the 'gcc', 'CPP', "gcc-symlinks", etc. - that I could see associated compilers.

    2 export CFLAGS = "-m32' export CXXFLAGS ="m32", export LDFLAGS = 'm32'"

    3 CFLAGS = "-m32". / configure

    However only 64-bit binary are generated.

    I'm unable to find through "opkg" all packages associated with 32-bit builds or anything related to 'multilib '. Could you get it someone please let me know how do NI Linux RT generate binary 32 bits?

    Looks like you are saying that you need a 32-bit library to work with 32-bit LabVIEW. However, LabVIEW on your target cDAQ is 64-bit, as all software on our basic objectives of Linux RT Atom (the ARM-based targets are 32-bit). So, if you want your HDF5 library to run on the target of the cDAQ to 64-bit, you must use a 64-bit version of HDF5. This is true even if you connect/deployment to the target of a 32-bit version of LabVIEW.

    Of course, if you want to run HDF5 on a 32-bit system, as a target of LabVIEW RT with ARM 32-bit processor, or LabVIEW RT older targets that use VxWorks or Phar Lap instead of Linux, or a 32-bit desktop machine running Windows or any other OS, you will need a 32-bit version of HDF5. But I would not recommend trying to build HDF5 for these environments of your cDAQ. I recommend compiling natively on the cDAQ, if you at all (*), for the code, you intend to run on the cDAQ.

    (*) You should be aware of this already, but you can cross - compile your HDF5 library using Eclipse, i.e. http://www.ni.com/download/labview-real-time-module-2014/4846/en/ - some people prefer this to the compilation on the target, which is a little limited resources.

  • Unable to access the QuickBooks program. Error "Microsoft C++ runtime library."

    Impossible to access the QuickBooks program

    I tried to access my QuickBooks program and got a pop-up message from:

    Microsoft C++ runtime library

    Program; C:\Program Files\Intuit\QuickBooks2005\qbw32.exe

    abnormal termination of the program

    I n ' a clue how to approach this problem... Any help would be appreciated...

    Hi Jack,

    You can consult the following Intuit article.

    QuickBooks support - "Microsoft Visual C++ Runtime Library: runtime error! Program: C:\Program Files... This application has requested the execution in an unusual way... »

  • I am trying to install a program and I get entry point getdlldirectoryw could not be found in the library of links Dynamics kernel32.dll file and the same for shreggetvaluesw to shlwapi.dll

    I am trying to install a program and I get entry point getdlldirectoryw could not be found in the library of links Dynamics kernel32.dll file and the same for shreggetvaluesw in shlwapi.dll. How can I fix the problem.

    You have all your current updates?
    Go to windows updates and see if there are updates that you do not have installed.
    The error message seems to indicate that your copy of XP has not been updated.

    Updated and let us know if you still receive the error message.

    Thank you

    Marilyn

  • Suddenly cannot open the Pdf online. Adobe crashes with this error message: Microsoft Visual C++ Runtime Library program C:\Program Files SQL Server 2008\Adobe\Reader10.0\Reader\AeroRd32.exe

    Suddenly cannot open the Pdf online. Adobe crashes with this error message: Microsoft Visual C++ Runtime Library program C:\Program Files SQL Server 2008\Adobe\Reader10.0\Reader\AcroRd32.exe

    Uninstall your Adobe Reader software and then install the latest version fromhttp://www.adobe.com/ and see what it does for you.

    writing in the new message: * e-mail address is removed from the privacy... *

    Suddenly cannot open the Pdf online. Adobe crashes with this error message: Microsoft Visual C++ Runtime Library program C:\Program Files SQL Server 2008\Adobe\Reader10.0\Reader\AcroRd32.exe

  • Problem with joining photos for the Windows 8 library mail program and error message 'create an association in the default program control panel '.

    Original title: E-mail question

    I want to send pictures of the library in Windows 8. Cannot do. He told me to create an association in the default program control panel. Been there, no help.

    Hello Jeff,.

    Please keep us updated on the status of the issue.

    I will certainly help you in the right direction to solve the problem. However, I would be grateful if you could let us know that you have set the email client that you use as default to the Control Panel program to send and receive electronic messages from the computer.

    Please respond with the requested information, in order to help you solve the problem.

    Thank you

  • Change the assets of the library within the program without affecting cloud related files

    Hello

    I use creative cloud under Mac OS x, and all programs are up to date. I have a two part question.

    1. is there a way to edit a library asset in an Adobe program without affecting the linked file cloud? If so, how?

    2. If it is not possible to do it, what is the best practice to edit a library resource without affecting the linked file? Do I have to include the file in the document? Create a new asset with the adjusted attributes and use this asset?

    As an example of what I'm trying to do, I have a logo in a creative clouds library that I use in an Illustrator document. The asset is black, I want to make the Pantone color blue of the company within the Illustrator, however it won't let me change locally. It seems that I have to open the file in the library, adjust it, save it and use that asset. However, I do not want this asset related to change of color in all other documents I used it. So, what I did is to save an asset separate cloud with the logo like this color. This seems unnecessary and unsustainable. Whenever I have a variant of a cloud asset should not require save me a new version of it for this specific use. My library will get crowded, fast.

    If it is not part of the works the library assets, in my opinion, it should be. Be able to adjust an asset at the local level, even if it's a range a minimum of settings without changing the attributes of the linked file, seems to be obvious.

    Ah, that's useful. I had not tried. At least it's easier than opening assets and by copying and pasting from there. Thank you for your response.

    I wish that it was possible to change the appearance of a related assets without changing the assets in the cloud. This way if something has changed on the assets 'overall' it could be changed and reflected in each document, all keeping this attribute "local." This feature cannot currently? I just want to make sure I'm not missing something.

  • Forms and compilation of the library

    Hi all


    I have a form with a library attached one of these libraries do not complie
    but compile the forms
    When I remove the attached library form is no longer compiles, prooving made that the form uses only the library

    What this means, which is the first seeks a pll, then a plx and calls code in the pll, even though it does not compile?

    How can we force the FMC does not compile



    KR
    Martin

    From my understanding forms simply reads 'signatures' of the code in the pll and the fmb compiles well if all references can be resolved. It is not necessary that the pll compiles in order to get the compiled fmb.

  • help on how to compile and run the awt programs

    any1 can tell how to compile and run the awt programs

    Published by: 863765 on July 18, 2011 03:29

    The same way you compile and run any other Java program.

  • Change the target of the library Variable shared by program

    I have a project in real time with the code that runs on a host PC and a cRIO who communicate using a library of shared on the cRIO variables. I am hosting the variables on the cRIO because who has worked much better than the accommodation on the host PC. For normal operation, this structure works perfectly.

    However, I'm now trying to implement a system that will allow the user to choose if they want to actually run the code on the cRIO or run a simulated system. The simulated system would occur on the host PC, so it is logical for this application for variables to be located on the host PC.

    To account for these two cases, I would change the target of the variable shared library depending on whether the real-time system is running or if the simuation is executed. I can do easily manually simply by dragging the library in the Project Explorer, but prefer to automate this process.

    In short, I try to develop a code that will change the target of a shared library of variable.

    I tried to do that by opening a reference to the project file, using the properties to get the library reference and change the target. However, the target property is read-only. Is there another way to do this or I'm stuck having to do it manually?

    It turns out that I had a version of the shared library Variable on the cRIO, so even when I welcomed the variables shared on the host PC, he always wrote in the cRIO. In fixing this issue, I have been able to accommodate the library on the host PC and get all what to run much more simply.

  • Whenever I try to open a program out the media center! Looks like all my programs need to open with this program but the library doesn't recognize any of this so it wont open all...

    Can't open anything

    Hi Karpaholix

    I would like to ask you a few questions to help focus in the right direction:

    Are there other specific details that you can provide that will help us understand and solve your problem? Since when you receive this error message? Have you made changes to your system?

    We can try a few steps and try to solve this problem.

    A default program is the program used by Windows when you open a particular type of file, such as a music file, an image, or a Web page. For example, if you have more than one web browser installed on your computer, you can choose one of them to be the default browser.

    Open default programs by clicking the Start button, click default programs.

    In the default programs, you can:

    ·         Set your default programs. This option allows to choose the programs that Windows uses by default. If you want to use your Media Player to open all media files, use this option.

    ·         If a program does not appear in the list, you can make the default program using set Associations.

    ·         Open default programs by clicking the Start button, click default programs.

    ·         Click associate a file type or Protocol with a program.

    ·         Click on the file type or protocol that you want the program to act as the default.

    ·         Click on the program of change.

    ·         Click the program that you want to use by default for the selected file type, or click the arrow next to other programs to show other programs. (If your program is not listed, click Browse to find the program you want to use, and then click Open. If no other programs are installed that are able to open the type of file or Protocol, your choice will be limited.)

    ·         Click OK.

    You can also check out this link for more details to make a default program:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-which-programs-Windows-uses-by-default

    Let us know if it worked!

    All the best!

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • If I delete pictures of all the pictures of the photo program section, yet will they stay in the albums that I've placed in?

    If I delete individual photos of all the Photos in my pictures program section on my iMac, they will remain in the albums that I've placed in?

    The albums are not store photos. Are simply referencing the photos in the photo library.  If you delete photos from your library, either from "Photos" or "pictures", the photo fade of all albums that use this picture.  Photos in albums and "All Photos" are not duplicates, pictures of the library, they are simply a different way to access the same pictures you see in the years of Moments, Collections,.

Maybe you are looking for

  • SmartWebPrinting and printer problems.

    I can't uninstall websmart printing via the control panel. Nothing happens when I click on "Uninstall". Ther is no indication something is woriking years I waited for hours. Everytime I open internet, there is an error message indicating that a file

  • Windows Vista SP2 - Standalone vs Windows Update

    Here's a quick question I hope is easy to answer: I still have to install Service Pack 2 on my Vista machine for various reasons that are not related. Anyway, now I can't, so my question is whether it is better to install from Windows Update tool or

  • the ruuber in my canon 7 d clings to the wide

    Hi I have a question in my 7 d in the corner near the bottom of shotter, the lid snaps off the coast of the is - anyone know how to solve It? Thank you

  • Downloading files

    I'm trying to download aol my web broswer keeps pc repair doctor block it. How do I turn it off?

  • Office 2007 SP1 installation fails - corrupted Installation database

    When I tried to install Office 2007 SP1 on Vista PC - installation fails because of the corrupted installation database.  What can I do to solve this problem and install SP1 for office 2007. Help, please THX