Launching two thread and killing the original thread

I'm having problems developing my application.
Hi,
I'm running and application wich has to self-update periodically. the way it's done is that i launch a different project, included in a different jar file. This project downloads an update for the application and relaunchs my application.
At first, i did that change of application using a process wich executes the update jar (using getRuntime.exec()), but it looks that once launched the process, my application waits until the update jar is finished.
I've thought to use parallel threads, i mean, my application is running on a thread, if update is necessary, then i create a thread wich executes the update jar and, once the download and update have been completed, create a new thread with my updated application, finishing the update thread after launching it.
Do you know if, once updated my application's jar, the new thread will be executed with my updated code?
I hope somebody can help me, thank you

well, on my computer works, but it has to work in the end on a PDA with a customized jdk from java 1.3, so i'm not sure yet if it works fine. Once i have done it, i will tell you

Similar Messages

  • I have just launched icloud on my windows 7 laptop, and stupidly added my outlook email contacts - ie addresses to my icloud contacts. So, there are now 1000's of contacts.  How do I delete these and preserve the original telephone and address contacts,?

    I have just launched icloud on my windows 7 laptop, and stupidly followed the instructions and added my outlook email contacts which come up as email addresses to my whole icloud contacts. So, there are now 1000's of contacts which have now appeared on my iphone.
    How do I delete these email addresses and preserve the original straightforward names with telephone and address contacts?  I am not very technical and am frustrated in my attempts to rectify the situation.
    Thanks

    For your contacts go to settings on your phone - mail contacts and calendars - scroll down to contacts and change display order to the one you want ( you can also change sort order, but ususally people prefer last name first and see if that is what you have).
    For your yahoo emails go on your computer open outlook
    In Outlook 2010, choose File > Accounts.
    Click account settings and confirm the command by clicking "Add and remove accounts or change existing connection settings."
    Select account and click "Change."
    Click "Advanced."
    Click "More Settings."
    Click the "Advanced" tab.
    Enter "7" in the box to the right of "Remove from server after."
    Click OK.
    Close Account Settings.
    If you have outlook 2007
    In Outlook 2007, choose Tools > Account Settings.
    Click the account you wish to edit and then click Change.
    Click the "More Settings" button.
    Select the Advanced tab located across the top of the window.
    Select the "Leave a copy of messages on the server" option.
    Select the "Remove from server after" option.
    Enter 7 in the box to the right of "Remove from server after."
    Click OK.
    Close Account Settings.

  • From acrobat 11.0.07 before proceeding you must first launch adobe acrobat and accept the end user license agreement

    Whenever I try to click on a link to open a pdf file, I receive the following message "before proceeding you must first launch adobe acrobat and accept the end user license agreement"
    However, my adobe acrobat is working well and I just recently uploaded it.  Any ideas?

    Hi stephendubai,
    What browser are you using? Please see the last post in this thread to see if the linked document resolves your issue as well: Re: Before proceeding you must first launch Adobe Acrobat and accept EULA
    Best,
    Sara

  • I have 2TB G-Drive it only will Write to operating system 10.8.3 and NOT the original 10.6 can I write with Both OS Systems....Please Advise

    I have 2TB G-Drive, it will only Write to operating system 10.8.3 (Mountain Lion) and NOT the original 10.6 (Snow Leopard) can I write with Both OS Systems....Please Advise how to

    I think I see where you're going with this: do you mean you're sharing an external drive which shows up on the Mac with Mountain Lion, but not Snow Leopard?
    Possible explanations:
    1) How is it connected? Does the external drive have two USB (or FireWire) connections, and you have a cable going from the drive to each Mac? If so, that's a big no-no. Never daisy chain the same drive to two different computers at the same time. You'd have to use one cable, dismount the drive from the Mac currently using it, then plug it into the other Mac and mount it there. It's a one-at-a-time thing.
    2) You're already doing the above correctly, but when using the Mac with Snow Leopard, when you turn on the drive, it refuses to appear on the desktop. I see this all the time when booting between one OS and the other on my Mac Pro. No idea why, but when Mountain Lion uses the drive, and I then try to use the same drive after booting into Snow Leopard, it won't appear (or only some partitions will appear) on the desktop.
    Simple, though odd solution. Launch Disk Utility. The drive partitions will then mount as they should. You don't even have to do anything in Disk Utility. Just launching it will cause the drives to mount as they should have in the first place.

  • My i-Pad2 won't charge after I downloaded some new stuff from i-Tunes.  A note appears on the screen "Charging is not supported with this accessory".  I have tried charging through two computers and with the wall socket plug (with another cable).  I have

    My i-Pad won't charge after I downloaded some stuff from i-Tunes.  I have tried charging through two computers and using the wall socket,, with different cables.  I have turned the i-Pad off & on a couple of times but it still won't charge.  Any ideas will be gratefully received.

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • Is it possible to save the adjusted virtual copy image and discard the original?

    I have made a virtual copy of an image which I then adjusted in LR to the way I want to keep it. Now I am wondering either if there is a way to apply those adjustments easily to the original so I can then discard the virtual copy, or should I save the virtual copy and delete the original? I just don't need two images, one which is not a keeper. I also don't want to delete the original if the virtual copy depends upon its existence.
    I want to keep images down to the one's I want and am working to delete those images which I will never use. Whichever is the best way to handle the above situation will enable me to do some much needed housekeeping to my catalog.
    TIA,
    Ken

    You guys are pretty slick, no two ways about it. I think I'm learning Lightroom, but I'm just happy with it helping in my own situation. Some of you have far-reaching understanding of this wonderful program. Lightroom is a 'must' as I see it.
    Ian, I've tried your method, as it seems easiest and most direct, I selected the VC and chose the menu item 'make copy original' and it did a 'conversion' or so it looked like, but the images still say 1 of 2 for the original with no modifications and 2 of 2 for the cropped and adjusted version. I am skeerd to delete the '1 of 2' version which I believe 'was' the original version before I chose the menu item. Now I'm not sure what I have.
    Hal P Anderson, I tried your method and it did transfer the settings but not the crop, which I can understand why. I re-cropped the 1 of 2 to match the 2 of 2 version which is the virtual copy, and then selected the virtual copy and hit delete - the dialog box confirmed I was deleting the VC by asking if I wanted to delete this virtual copy. I felt more comfortable with that arrangement and now I'm sans VC with the original possessing the new settings.
    Thanks to you both,
    Ken

  • Diappearing photos replaced by an exclamation point within a triangle.  Prior to loading Lion I could put the image number in finder and locate the original file for that photo.  How do I restore photos now?

    I had problems with photos disappearing and being replaced by an exclamation point within a triangle.  I can see the photo in the thumbnail summary but when you click on it, the screen goes black and the exclamation point within a triangle appears along with the info on the original image number (i.e., img_1120.jpg). Prior to loading Lion, I could go to Finder, enter the image number and locate the original file for that photo.  I could then restore it for editing, copying into Print Shop directly, etc.   That no longer works after installing Lion.   How do I restore photos now?  I have 100s of photos that I have been going back to the original files and restoring and I am frantic that I will no longer be able to get to the original files.  Please help!  Thanks

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    What version of iPhoto? Assuming 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Repeated message "Before proceeding you must first launch Adobe Acrobat and accept the End User

    I am now getting repeated pop-ups of a dialog box that says:
    Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement.
    However, there is no menu command or preference to do so in either Adobe Acrobat Reader X version 10.1.6, or Acrobat Pro X 10.1.6 CS6 (I'm a CS6 subscriber)
    How can I make this annoying dialog go away? What caused it to start appearing?
    I'm running OSX 10.8.2 on a recent iMac, Safari 6.0.2 (8536.26.17)

    There seem to be at least two different problems.
    Some people need to run a copy of Acrobat/Reader and accept the agreement which appears (just pops up).
    Some people have something worse.
    I recommend checking in Applications to see if there are any other Adobe Acrobat or Adobe Reader apps shown, and start them.

  • How to install an SSD in a MacBook Pro and keep the original hard drive

    Step by step instructions on how to install a Crucial SSD as the primary drive in a MacBook Pro and use the original hard drive as a second drive in place of the optical drive.
    Apart from the time needed to back up your data and clone the original drive to the new SSD, you should be able complete this in less than an hour. 

    Verifying
    Install the SSD in the HDD slot
    Install the HDD in the optical slot
    Boot to the HDD and format the SSD
    Boot using Command R and restore the operating system from Time machine to the SSD
    Reformat the HDD and restore the data files to it.

  • When closing my Firefox window, all processes are not closing requiring me to open task manager and kill the process before using Firefox again. Received recent upgrade and hasn't worked right since then.

    I open Firefox, use it, then close the window. Try to reopen Firefox and it fails with a message that a previous process is still running. Requires me to open Task Manager and kill the old process.

    Try to wait a bit longer before reopening Firefox to give Firefox more time to close completely.<br />
    Try to use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.
    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • Technical question:  Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how??

    Technical question:
    Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how??
    Here's a little more information on what I am trying to do.
    I have a desktop computer with 4tb worth of pictures that has Lightroom and Photoshop on it. I also have a laptop with Photoshop and Lightroom. I would like to be able to edit those same pictures with their current edits that are currently on my desktop on my laptop. If this can be done, I'm sure I need to be on the same wifi network for my laptop to be able to access my desktop's photo library. I am technically savvy enough to map a network drive, but how do I get my two Lightroom catalogs to sync when I make a change on one of my computers? Would i be working only on one catalog? Or two separate catalogs that would need to be manually synced to the other computer? Would it be beneficial to put my lightroom catalog on something like dropbox?
    I'd appreciate any information or tutorials if someone knows how to do this.

    I do this by having my LR catalog and photos on an external drive that I swap between the two computers.  I am on Windows and have the same drive letter assigned to the drive on both computers.
    Because the photos are on a portable drive I back up the portable drive to another hard-drive every night or after important work, because portable drives are susceptible to damage or loss.

  • Will my iTunes account support two iPads, and will the apps that I paid for on one iPad be free on the second iPad.

    Will my iTunes account support two iPads, and will the apps I buy for one iPad be free for the other iPad.

    Yes yes and yes.
    My girlfriend and I use the same AppleID for purchases, and any apps that she purchases I am able to then purchase without additional charges.
    EE

  • Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL   fmp://~filename.fmp?$VariableName=Value  This launches Filemaker Go and directs the user to the Database Hosted online   Right now there is no app store for

    Can I upload a simple iPhone App that all it does is direct the User to a Filemaker Pro URL   fmp://~filename.fmp?$VariableName=Value  This launches Filemaker Go and directs the user to the Database Hosted online
    Right now there is no app store for Filemaker Go.   Filemaker Forgot about us.
    So I want to create a simple native iPhone App that all it does
    is launch
    fmp://~/filename.fmp12?$VariableName=value
    This URL will launch the Filemaker Go App
    Filemaker Go is a app that the user will have to have
    downloaded already on the device..
    The Simple Native app will launch the Filemaker Go.
    The fmp  URL has the information where the Filemaker Pro database is hosted
    and get  the user where they need to be..
    Help Me please
    iPhone 5s, iOS 8.1.3

    That would be software. And, you said "upload." That's "uploading software." Why do you question what you stated?
    I don't know where you even want to upload this software. The only way it can be downloaded to a device is through the iTunes store. Do you even know what you want to do?

  • I need to synch my iphone, ipod touch and classic to a Mac that I have and 2 I am about to buy. I have legally paid for all my music. If I use migration on my new Macs and clone the original, can I use my iAppliances on all 3 Macs?

    I need to synch my iphone, ipod touch and classic to a Mac that I have and 2 I am about to buy. I have legally paid for all my music. If I use migration on my new Macs and clone the original, can I use my iAppliances on all 3 Macs?

    Yes.
    You can authorize up to 5 computers to play itunes music ( pre-itunes plus).  There is no limit on itunes plus ( all itunes music for the past several years) and imported music.
    You can sync as many ipods/ipads/iphones as you like to each of your computers.

  • Why does itunes in France have a complete lack of english language content on the TV programmes... prefering to release dubbed programmes and not the original english language content, surely it will cost nothing to release both?

    Why does itunes in France have a complete lack of english language content... prefering to release dubbed programmes and not the original english language content?
    It would be just as easy to release both a dubbed version and then a subtitled version.
    I am a native english speaker but live in France. My father has just moved over to live with me in France and speaks very little French.
    The price for a television series is very often more than a dvd box set but does not offer language options.
    My French is passable but I would still prefer to hear the programme in English.
    Using itunes uk is not an option as my cards are french or english with a french postal address.
    The content has been adapted for the french site all i want is to access the original.
    The series i have been trying to buy is HBOs 'boardwalk empire'.
    The stupid thing is to please my father i would buy up most the HBO, BBC and Channel 4 content a cost of a couple of thousand euros.

    Try giving Apple feedback: http://www.apple.com/feedback and also contact the Apple headquarters at http://www.apple.com/contact  We are all fellow users and not Apple employees and often raise questions like yours ourselves.  If enough make Apple aware of a market/need then something may be done about it.
    France has come a very long way with regard to other languages.  When I lived in France, mid-880s, there was an entire Ministry devoted to the purity of the French language...that was the time the PC came out.  A TV news person was cashiered for using the term 'computer' on-air instead of the French created word 'ordinateur'.  They took the language extremely seriously at that time.  At least today there is recognition and even use of English by the masses

Maybe you are looking for

  • How do I add more things to my notification centre? Like stocks?

    This is all I have on my notification centre! Can I add more like on the website?

  • External superdrive not connecting to osx10.8.2

    Hi guys, can someone tell me how to get the superdrive working again. After updating the Mountain Lion, it stopped working. Does not connect. Thanks

  • Begin with new BO 4 Java sdk

    Hi all, I have to begin to use the new API 4.0 to upgrade our project which are using the API 3.x. It's my first use of the API. I simply will follow an example but I get an error (program on my local computer) : try {                URL boConURL = n

  • FCP 7.02 and ProRes Easy Setups

    Hi My issue is that none of the Apple Pro Res Easy Setups that were installed during setup in my Library/Application Support/Final Cut Pro System Support/Custom Settings folder show up in the list of available Easy Setups in the application. If I go

  • Very low audio sound

    Its a hp pavilon dv6 notebook - serial # 5ch1311yvr - windows7 64 bit -I have tried all sound options I could find, one day the sound was working good and the next day very low volume, no new programs were installed ad no changes that I am aware of,