How to use one external jar (SDK) for several apps in WTK?

Hi,
I have one external jar (SDK) I use for developing J2ME applications.
Every time I have no choice but to copy this JAR (SDK) into my current application lib directory.
I am building a family of MIDlets that I dont want to put into just one huge JAR but rather to have several JAR files for each application.
In C world I need only to tell the linker where it should pickup ".so" or ".lib" file.
Is any way to do the same with WTK? Or any other J2ME development tool?
Thanks in advance,
Andrew

Link to wtk2.5 beta has been posted to this forum
while ago. It's worth to try it It is MSA1.0
compliant. It has many new JSRs.TomTom,
Thanks again.
I tested the WTK2.5BETA and here I ahve strange fact. My application works perfectly on WTK2.1, WTK2.2 WTK2.3 BETA but it crashes with a very weird message on WTK2.5BETA
Method............: 22482ac 'com/tinyline/app/SVGEventQueue.handleEvent (virtual)'
Stack Chunk.......: 2216e44
Frame Pointer.....: 2216e7c
Current IP........: 224820b = 22481fc + offset 15
Previous Frame....: 2216e58
Previous IP.......: 226afd6 (offset 26)
Frame size........: 3 (2 arguments, 1 local variables)
Argument[0].......: 20bc0b8
Argument[1].......: 2216d7c
ALERT: java/lang/NoSuchMethodError: No such method dispatchEvent.(Lorg/w3c/dom/events/Event;)Z.
So I thought, OK it was compiled under WTK2.1 may it was the reason of crash.
I took sources and compile them under WTK2.5 BETA. I came up with the same result - crash.
Thanks,
Andrew

Similar Messages

  • Can I use one external hard drive for 3 of my Macs?

    I have a 2007 white MacBook, a 2011 MacBook Pro, and a 2013 MacBook Air.
    I want to be able to transfer all of my precious family photos off of my MacBook and Macbook Pro onto an external hard drive and then wipe those computers clean, and then I want to be able to backup and wipe clean my Macbook Air so that I can update it to Mavericks.
    Can I use one external hard drive to do this for three of my Macs? Will it be compatible with all of them? And will I still be able to use the hard drive with my Air once it is updated to Mavericks?
    Which hard drive do you recommend?

    1. Yes. Note that anything you want to keep should be on at least two drives in case one of them fails.
    2. Yes.
    3. Yes.
    (110959)

  • How can I use one external hard drive for both Time Machine and iPhoto Library?

    I have been using a 1 TG LaCie external hard drive for Time Machine backups.  My (older) Mac has 160 GB and is almost full.  I would like to move my iPhoto Library to the external hard drive, but I've heard Time Machine doesn't share one space well.  Should I
    1.  create another partition (but will this erase what I've already saved) with Disk Utility?  *I am running Snow Leopard*
    2.  create another volume to use for iPhoto, and if so, should the two volumes be of equal size?
    3.  leave it with one partition and move the iPhoto Library to the same partition with Time Machine back ups?
    I know I don't need the entire 1 TG for back up of 160 GBs.  Please advise the best path to take.  Thank you!

    You are getting incorrect information from your ASP. If you look at drive specifications the heat generated is no different for high vs low capacity drives.
    I have upgraded the internal drive in my iMac 2007 with a 3TB Hitachi drive without any heat issues or other problems.
    Larger hard drives have higher density platters so to access any given amount data the drives travel a shorter distance. Higher capacity drives should therefore run cooler than lower density drives because the drive spends less time spinning to access data.

  • How to use one pageflow to cater for multiple display?

    Hi, I trying to use one pageflow to display different kind of contents because the logic behind the retrieval is similar except that different parameter(string) us passed in for different content retrieval.
    How do i achieve the above? thanks in advance :D
    Cheers

    What do you mean by "display different kind of contents"? do you mean you want to display PDF/HTML/Image based on certain parameters or You are using different media like PC/PDA etc.
    In both cases you can redirect to different success page based on your query parameters.
    if(param.equals(image))
    forward image.jsp
    if(param.equals(pdf))
    forward pdf.jsp
    else
    forward html.jsp
    Hope it helps

  • How to use an external start button for 6024E w/ sc-2345, I would like it to function like a start button in LabView but I don't know how to connect the external button to the sc-2345's connector block

    I am confused as to how to connect my external start botton. I would like it to function like a start button on a front panel of a VI. I would like to use the +5V on pin 14 but I really don't know where to go from here. Any guidence for a novice would be most appreciated.

    phod,
    This is the LabVIEW Real-Time forum, so I suggest that in the future that you post this type of question to the Multifunction DAQ forum.
    For the simplest solution you will have to connect your button to a digital line of your board, consult the sc-2345 user manual for a diagram of where these lines are exposed. You will have to connect your start button in series with a line that is high, such as your 5V pin or another digital line. Then connect this to a digital line that will be your start trigger.
    Your program can poll the digital line that is connected to your button in a while loop and when it goes high, it lets the rest of the program execute. For the programming, I suggest you take a look at the shipping examples that come with LabVIEW. If yo
    u have LabVIEW 7.0 go to Help>>Find Examples. Open Hardware Input Output>>Traditional DAQ>>Digital Input and Output>>E Series for some examples of digital I/O programming with E-series boards.
    Hope that gets you started.
    Gerardo

  • How to use the External Jars

    Hi All,
    I want to use the Api for java advanced imaging,
    and i don't know where to place that jar and how to use the classes from that to do the related programming.
    Please help.
    Thanks
    Mahesh.

    any jar that's on your classpath you can use.
    For information on how to use the classes in a specific library your best friend is the documentation about that library.
    To have your editor/IDE know about a library, see the documentation for that editor/IDE.

  • How to use an external hard drive for your music storage

    How do I use my external hard drive as my storage for music? I have already saved my music on my external and I have my iTunes program on the computer just wondering what is the next step is? Also I want to make sure I do not use my computer's hard drive for any sizable storage.

    sorry to butt in, but this appears to be the best thread to pose my question/problem.
    i have successfully migrated my iTunes Library to my external hard drive. the last part of the instructions tell me to delete the iTunes music folder from my hard drive to free up space.
    however, i've not done this because i would like to keep a reduced number of music files on my MacBook so that i can listen to music when i'm away from my external hard drive.
    i've managed to delete the files i don't want stored on my hard drive, and when i open iTunes without the external hard drive, it defaults to the original location. i'm sure this is not good practise, because whilst i can now play music, the information in iTunes is not right.
    what is the best way of storing and playing some of my iTunes library on my hard drive, whilst using the external drive as a 'master'? can it be done?
    MacBook   Mac OS X (10.4.7)   2GB RAM, 120GB HD, 2GHZ

  • How to use 3rd party jar files for xml transform

    Hi all,
    Am using OAS9.0.4 and I deployed my .ear successfully.
    In my application am using 4 jar files for xml transformation. (xerces.jar, xalan.jar, xml-apis.jar,xercesImpl.jar)
    OAS has its own xmlparserv2.jar file. Its using this jar file for transforming xml data and not even looking for above mentioned 4 jar files.
    In opmn.xml, I provided these 4 jar files in to class path. Then also it didn't effect my output.
    I also tried as put these 4 jar files into j2ee\home\applib directory, but o result.
    Can anybody tell me where should I keep these 4 jar files in OAS and OAS should use these 4 jar files instead of its own xmlparserv2.jar for transforming data.
    Thanks in Anticipation,
    Regards,
    RK

    Add the Xbootclasspath variable in the java-options field. It will somewhat look like the following in your opmn.xml file
    <process-type id="<OC4J Instance Name>" module-id="OC4J">
    <module-data>
    <category id="start-parameters">
    <data id="java-options value="........... -Xbootclasspath^/a:<location of your jar files>" />
    Ensure to use th ^/a (append) signature
    Regards,
    Chirag

  • How to use an external XSLT engine for Oracle BPEL Process Manager

    Hi,
    is there a way to use an external XSLT engine instead of the build in provided in Oracle BPEL Process Manager?
    The reason is to perform some XSL Transformations that use an OWL Query language.
    Thanks!

    Yes. you can write your own xpath function which can connect to external xslt engine and pass-in your document:
    <copy>
    <from expression="my:myxslt-processor(bpws:getVariableData('var1','part'))"/>
    <to variable="v2" part="payload/>
    </copy>
    The following Thread discusses about how to create an extension xpath function:
    http://forums.oracle.com/forums/thread.jspa?forumID=212&threadID=305548

  • How to use one dynamic connection managers for multiple parallel data flow tasks

    hi there:
       I have 6 databases residing on the same server. What I want to do is  call a store procedure with identical name on each database dbo schema and transport results to a centralized place. The key is to have those SPs run in parallel instead
    of in sequence as each SP may take around 10 mins to finish. 
    The simplest way is to create 6 OLE DB connection managers and create 6 DFT tasks. However, I do not want to maintain 6 OLE DB connection managers as there is a chance to have more connection  managers.
     What I did so far is to create a OLD DB connection manager and use expression to set up connectionString properties so that it will get populated by variables at run time. It is fine when running all SPs in a Foreach Loop Container. However, it takes
    around 60 mins to finish.
      When I try to run it in parallel ( basically created 6 DFTs but use only one Dynamic Connection Manager), the connection string gets confused therefore all DFT tasks failed.
       Does anyone here have some experience on this topic?
    Thanks
     hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Yes, basically, on the connectionString property of ONE OLEDB, you are using an expression to supply value and this expression is pointing to a variable. 
    In this case , you can update this variable from a table which contains many connection strings. It's good if you want to execute Store procedures in a sequential order. When in parallel mode, this will cause issues as connectionString gets overwritten. 
     I am thinking about using script task to exec sp.
     The whole idea is that I do not want to maintain a large number of Connection Managers. 
    Hope it helps
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --
    So you are not able to run parallel executions using same conn mgmr, even with dynamic connectionstring, is that correct? Yes, script task will be a way to go if you wish to execute it in parallel, you may connect to SS and query the proper conn string with
    SELECT/WHERE clause in each script > pass it to a script variable > use that script variable and execute the proc. This will require only two things to change in each script, the WHERE condition to get the conn string and the proc name (you may even
    get the proc names the same way you get conn string) and everything else will be same. Let us know how that goes. 
    Hope no two or more procs doing insert/update/delete on the same tables.

  • How to use packages and jar files for applet?

    Hi!
    My applet takes a class say a.class.
    Now this class depends on other classes that are packaged
    in a directory and put separately.
    I want to put this applet on the web.
    So how do I manage the .class files in he package.
    I have tried using jar file format.But I was not able to get it working.
    Can someone please help me?
    Thanks

    Use Archive instead of codebase:
    <APPLET CODE="MyApplet.class" ARCHIVE="MyApplet.jar" WIDTH=400 HEIGHT=300></APPLET>

  • How to use one pop up window for multiple buttons and input fields?

    Hi Experts,
    I have created a pop up window that will be opened from multiple buttons in the same view. There are input fields that the data will be populated from a pop up window.  How can I set up which button that a pop up window is opened from? I also would like to populate the data from a pop up window to the input field next to a clicked button. There are 6 buttons and 6 input fields that share the same pop up window. I would very appreciate your responses.
    Thank you,
    Don

    Hi,
    Try creating 2 context attributes, one in your component controller and the other in the pop-up view. Bind the attribute of pop-up view to the component controller attribute.
    In the main view, on click of every button set a unique code in the controller's context which helps you in identifying the button clicked. Since u have created a binding to the pop-up view attribute the value flows from the controller.
    In the init method of your pop-up view, check the value of the attribute and based on that display which ever UI elements are required.
    Eg:
    On Button 1 click set value "B1", Button 2  value "B2" etc. In the init() of pop-up view u can check the values and perform the required operation:
    if(("B1").wdContext().currentContextElement().getButtonIdentifier()){
    else...{
    Hope this helps you.
    Regards,
    Poojith MV

  • Can you use one itunes gift card for multiple app stores?

    if i had one gift card and used only $10 of it, can i give the balance to a friend?

    No. To use the iTunes gift card you redeem the card, which puts the entire balance of the card as a credit for you to use on your account.

  • Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verif

    Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verifying and repairing it but had no luck. I also tried mounting and unmounting it but still no solution. Anyone to help please?

    Looks bad. I would strongly advise backing up the stuff on the other two partitions as soon as possible in case the rest of the drive goes wrong.
    Beyond that, Disk Utility has limited abilities to repair disks, DiskWarrior uses a different approach and might, emphasis might be more successful. It has certainly done the job for me in the past when Disk Utility could not.
    See http://www.alsoft.com/diskwarrior/

  • How do i use an external hard drive for all my itunes music?

    how do i use an external hard drive for all my itunes music?

    Hi valleydave,
    Here are two good links for you to check out:
    http://support.apple.com/kb/ht1751
    http://support.apple.com/kb/ht1449
    The first one goes over, in-depth, what you're looking for in regards to "off site" iTunes.

Maybe you are looking for