How to add external jar file?

Hi all
1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.75
2 opportunity BB JDE v4.7

4. the request is:

My application needs commans - httpclient.ja.

If I add external jar file.

application throws the runtime as error

module "Commons-httpclient ' not found."

My request is here:

is it posible to add external jar file in blackberry?

If so, how do I add external jar file?

can any body help me on this point, because I am doing this for the first time

Thanks in advance

Abreu - Bureddy

File JAR of Th which tent has class files not getting recognized by BB Jvm.

Tags: BlackBerry Developers

Similar Questions

  • How to add the JAR files and configuration files to the CLASSPATH when running?

    QUERY:

    During execution, I need to load JAR files and relevant config (.cfg files) and file .properties files in the CLASSPATH and run a specific one of the JAR java program that is available in the CLASSPATH.


    Please send me details of Java API or an example of java program to implement the use case above.


    Thanks in advance.


    During execution, I need to load JAR files and relevant config (.cfg files) and file .properties files in the CLASSPATH and run a specific one of the JAR java program that is available in the CLASSPATH.

    Please send me details of Java API or an example of java program to implement the use case above.

    You do not add to YOUR classpath once your application is launched.

    You create a NEW process for the application you want to run and provide an appropriate environment for it to run in-including the CLASSPATH or PATH environment variables.

    The Java API for the ProcessBuilder class has a simple example that shows how to create the arguments and to launch an external application.

    ProcessBuilder (Java SE 7 platform)

    There are also MANY other examples of the use of ProcessBuilder; just search the net.

  • "Error starting Module not found" add external jar to eclipse plugin

    Hello

    I use the eclipse on Eclipse 3.4 plugin

    BB JDE 4.5

    8300 Simulator

    I'm trying to run a Midlet that sucessfully runs in eclipse for another smartphone (Samsung).

    The project compiles fine, but when I run it in the BB Simulator, it gives me the error:

    "error at startup MyApp: Module ' kxml2 - 2.3.0' not found."

    I added a jar for kmxl in the form of external jar file.

    Sometimes it get lost, don't know why. I had to add the jar file several times because once so that it cannot compile and it disappears from the list of libraries.

    In any case, the major problem is that he cannot run in the Simulator.

    I found several posts with the same problem, but the solutions they gave are JDE, not eclipse plugin.

    These solutions were to create a new project, made a library of BB and understand the project as a dependency in the main application.

    But how to solve the problem in plugin eclipse?

    Why add a pot as an external library is not enough?

    Why get lost from time to time?

    If we are to create a new project (it seems excessive to me thinking) how can we define everything in eclipse?

    Thank you

    Anna

    Check this thread.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=22240#M22240

    Concerning

    Bika

  • How to add the html file to adfc_config?

    Hello

    11.1.1.5 jdev

    How to add static html files to adfc config?

    Is - it possible and a good solution?

    Hello

    You can use the activity display URL:http://docs.oracle.com/cd/E21764_01/web.1111/b31974/taskflows_activities.htm#BACICBGF

    Arun-

  • How to regenerate the JAR files?

    How to regenerate the jar files in adadmin?
    We have eBS R12 from Unix.
    Best regards

    Hello

    Please refer to the Maintenance of Applications Oracle® utilities (4-6, JAR files generate products Page).

    Applications releases 11i and 12
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • Add external JAR to the Jdeveloper SOA composite project

    Hi experts,

    I work on Jdeveloper and want to liaise with the IOM for details on Benerficiary in a SOA compsoite. To start the connection, I added more code in Java Embedding task

    And I need to incldue JPS - API.jar in incldued in the project. I followed all means possible such as libraries-> add Jar/adding.

    But during the compilation of the project, it gives a compile error. When I remove the lines of code in project below, he starts again compile successfully. How can I bring an external jar to the buildpath of Jdeveloper.

    Please suggest

    ctx = oracle.security.jps.JpsContext

    oracle.security.jps.JpsContextFactory.getContextFactory () .getContext ();

    oracle.security.jps.service.credstore.CredentialStore cs = final

    ((oracle.security.jps.service.credstore.CredentialStore) ctx.getServiceInstance)

    oracle.security.jps.service.credstore.CredentialStore.class);

    CMap oracle.security.jps.service.credstore.CredentialMap = cs.getCredentialMap ("oracle.oim.sysadminMap");

    cred oracle.security.jps.service.credstore.Credential = cmap.getCredential ("sysadmin");

    If (cred instanceof oracle.security.jps.service.credstore.PasswordCredential) {}

    oracle.security.jps.service.credstore.PasswordCredential = (oracle.security.jps.service.credstore.PasswordCredential) cred pcred;

    Char [] p = pcred.getPassword ();

    oimUserName = pcred.getName ();

    oimPassword = new String (p);

    Copy the jar in \SCA-INF\lib

    -Marie

  • An Extension using an external JAR file

    Hey,.
    I read this blog entry:
    -[http://blogs.oracle.com/jdevextensions/entry/adding_exteneral_jars_to_an]
    and the thought that maybe that is it, but unfortunately will only work if the jar is deployed with the installation of JDeveloper.
    I use in my extension jar files that I made myself, and even if I can get around this problem my copy just jar files to hand to the place where they are supposed to be, if I export the extension, it will not work on other PC.

    So what I need to do, it's somehow include the jar file in the deployment. I tried to add a new group of files for the libraries in the deployment window, but unfortunately, that has not helped at all.

    Thank you for your time and I hope someone can help me.

    Couple of things possible.

    It is probably just a thing of packaging in the forums, but make sure externally: part is all on the same line as the Bundle-Classpath entry.

    Also remove the space between the "external: ' and the ' $ORACLE_HOME$".

    One last thing, is in the previous post, you got the mon.jar in a 'test' under extensions folder.. In this example, it seems you are trying to call it directly from the Extensions folder.. This could be the main issue.

    Let me know if these elements help at all.

  • Re: How to add external monitor to my Satellite L750

    Please can someone advise me how to add a monitor to my Satellite L 750. I plugged it with an HDMI cable, but obviously I need to change a setting somewhere to operate?

    Thank you in advance

    Hello

    Connect devices with a good cable (HDMI cable) and use the Fn + F5 key combination to switch to the external video output.

    But question: why you n t read the Satellite L750 manual? These information are mentioned.

  • NOTEPAD ON HOW TO TRANSFER A JAR FILE YOU'RE CELL PHONE?

    I DOWNLOADED BLUEWARE AND IN NOTEPAD IT SAY... "TRANSFER the BLUEWARE. "THE JAR (FOUND IN THIS SAME FOLDER) YOU'RE PHONE"... HOW CAN I DO THIS?

    http://www.blurtit.com/q5429909.html

    You can read the above.

    http://www.google.com.au/search?hl=en&source=HP&q=Transfer+the+BLUEWARE.jar+file+to+a+Cell+Phone&aq=f&aqi=&AQL=&OQ=&gs_rfai=

    Google hits on this subject.

    Contact your Support of mobile phone for information about this.

    See you soon.

    Mick Murphy - Microsoft partner

  • For a given file, how to add and change file properties on the Details tab, for properties that are not in the properties list?

    Now, I am aware of the modification of the properties of the file is simple in Windows 7 Explorer. Select a file, 'Properties', then tab "Details".  Some are not editable, and that's understandable.  Click on next to any area classified as year, Genre, Publisher, etc. and the apply.  No problems so far.

    Then of course in Explorer, when you right click on a column header, you get several choices of column beyond the usual that is displayed by default; Date, the Type, size, etc.  But, there is an option "More...", which has up to now, MUCH more useful properties to choose from, such as the model project, Department, job statusand so on.

    It's fantastic!

    But when you look into the details of any given file, none of these additional properties even are listed to be edited.  Why offer to view these details, if you don't change them, or add them to different files?  I must be missing something.  I do not need to add my own custom details, this additional list has a choice, that I need; If only I could edit the files to get this info.

    How to add and change these properties to files?  Word, Excel, MP4, AVI, JPG; I would add these properties, so I can set directly in the Solution Explorer, as you would by name or Type.

    Any help would be greatly appreciated!

    My experience is that most of these 'extra fields' no existence not as fields in the directory (folder) itself.  On the contrary, these fields exist in the target file itself. Each file type has its own format and established file except for the types of files that belong to Microsoft, Microsoft cannot control or arbitrarily change the format of a particular file type.

    For example, a ".jpg" file  The format of this file type allows a large number of areas such as comments, Tags, date taken, opening, device manufacturer and so on.  If you go into the properties on a .jpg file, you will see a lot of them and will be able to change.  After changing any of these fields, you will find that the file itself has been changed to contain this information (as can be verified by the parity of the file and to come check upward with a different checksum).  If you display one of these fields in Explorer and 10000 ".jpg" files in this folder, then Explorer must open each of these 10000 files to extract the data in the corresponding fields, you have chosen to display.  May take some time.

    Compare that to the same picture saved to a file ".bmp".  The ".bmp" format has no provisions for any of these fields, so you will not be able to view, save, edit, or sort by them.  If the editable fields are directly related to the type of file that is displayed.

    Microsoft has apparently interviewed a lot of file types and made a compilation of the editable fields in each type of file and the Union of the selected fields in which can be displayed and modified.   That's apparently what you see in the option «More...» ».   So, in summary, the file type determines which fields are available for editing and posting.

    HTH,

    JW

  • Can Eclipse 1.1 I add external JAR library part 3-d?

    I thought that it would finally be possible to add third-party 3D libraries for the project using the latest plugin Eclipse 1.1

    I tried to add a library and the generation of project (just like with previous versions), but it does not work on the emaulator. I get IllegalArgument exception and it basically says that it cannot find the module that I try to use (class name) of the library.

    Thank you!

    Open the Java Build Path, then go in the tab order and export and export the third pot by checking the box in front of the pot.   Rebuild and let me know if you still receive the error "module not found".

    It must be valid for a JAR file created outside the BlackBerry Java plug-in for Eclipse (not a BlackBerry library project).

    If the JAR file is another project of library of BlackBerry, you will need to install the COD file for this library on the smartphone BlackBerry (Simulator) before running your application.

  • How to add the png file in another png file

    Greetings

    How to add another png to a png file

    for example: I have the png file 1) 320 * 480

    second is 2) very small png file

    I want to add the small png like this button (320 * 480) of the png file, how can I do

    Help, please

    account s

    Anthony singh

    It is not much more left to do, really:

    1. create your custom - bitmap button class copy most of the project advanced user interface.

    2. create your personalized with background image - again, Manager copy most of "adding background... picture." "with all the changes that you deem necessary.  You can replace HorizontalFieldManager with VerticalFieldManager, for example, according to your needs. Also, if you've read this article, visit again and take a look at the note at the bottom - I just added a. It might not be relevant today, but may be useful later - I answered enough questions here on the forums, so people do not experience this problem.

    3 create an instance of your custom Manager to enlarge the image as the parameter - let's call him myBgMgr, for example. Add myBgMgr to your screen.

    4. Add the new BitmapButtonField (smallerImage,...) to myBgMgr.

    That's all!

  • How to add a jpg file. watermark to images in bridge?

    I'm working on adding a jpg file. watermark my images in bridge and also how batch add watermark.

    Add a jpg file. watermark my images in bridge and also how batch add watermark.

    You can do so in bridge's only option for an inherent watermark via the output Module on a contact in PDF sheet.

    Better try this question in the forum of Photoshop, they might have better answers because you need to create an action in PS to get what you want.

  • How to deploy the jar file in WLS help ant script

    Hello

    Im trying to deploy a jar file in weblogic 10.3 using ant script and spin in the below error.
    "
    + weblogic.management.DeploymentException [wldeploy]: [J2EE:160177] application to ' / u01//RSJBObjects.jar ' was not recognized as a valid request type. If it is an EAR file, please ensure that the META-INF/application.xml exists. EJB - pots must have a META-INF/ejb-jar. XML or corresponding annotations exist. If there is a WAR exploded, the directory name should be fine with "constituent". RSRA requires a META-INF/ra.xml. A deployment of JMS should be an XML file whose name ends in '-jms.xml. A deployment of JDBC must be an XML file whose name ends with "-jdbc.xml". For other types of applications, see the documentation for WebLogic Server. +
    "

    When I try to deploy the same manually from the console, I get a warning stating that WLS thought this as a library and therefore proceed to deploy it as a library. After this warning, the deployment continues and ends.

    Problem is when I try to deploy it using Ant, it breaks at this stage.

    Y at - it all means that we can deploy a jar to WLS help ant script. It must be deployed as a library as other apps would use this jar.

    Cannot create an ear for this jar file file unique im.

    If there is no suggestion on can do you, please share.

    Thank you
    Vijay.

    Hi Vijay,

    The following example shows how to deploy a Java EE library named myLibrary whose source files are located in the directory for output/myLibrary:



    source = "myLibrary/exit" library = "true"
    user = 'weblogic' password = 'weblogic '.
    verbose = "true" adminurl = "" t3: / / localhost:7001 ""
    target = "MyServer" / >

    http://docs.Oracle.com/CD/E11035_01/WLS100/programming/wldeploy.html

    HTH
    Kind regards
    Sunil Polineni

  • How to load external swf files into the AIR

    I try this code its working at the computer, but when I publish this .apk or .ipa file, my external swf file does not open

    (I included my external file as well)

    places_btn.addEventListener (MouseEvent.MOUSE_DOWN, newvid);

    function newvid(event:MouseEvent) {}

    trace ("you clicked me");

    var loadit = new Loader();

    addChild (loadit);

    loadit. Load (new URLRequest ("scene02.swf"));

    }

    01.jpg

    Add this in your newid function:

    You forgot to put the beginning of your original function:

    var loadit = new Loader();

    addChild (loadit);

    var _lc:LoaderContext = new LoaderContext (false null, ApplicationDomain.currentDomain),

    loadit. Load (new URLRequest ("scene02.swf"), _lc);

Maybe you are looking for