Unable to launch the application – Java error

You will face this error when you will try to update the Java version (Virtual Machine) to a newer one, or when you will try to install/re-install the Java Virtual Machine Client. Note that you can install JDK for example (Development Kit) and it will automatically install Java (Virtual Machine) too, if needed and not already present.

The things you can see when you will check on the Details Tab differ, depending on the environments and java versions used, but also on the Applications you are trying to start. In most cases when you will see anything even remotely similar to the screens or error messages below, the solution I will provide should apply and fix the error your encounter too.

The error messages can vary, as you can see:

“ Unable to launch the application ” followed by “ Application error ” or the name of the application unable to open.
“ Java Web Start ” followed by some other details about the error like: “ Launch File error ” or any other parameter which is basically the same error with the same solution in most cases.

The details that you can find in the additional tab next to the “ Launch File ” tab will also differ but they all should have in common a message that says something like: “Java Web Start Error: Unsigned application requesting unrestricted access to system” or “ Unsigned application requesting unrestricted access to the system ” as you can also see in the next print screen pictures:

Unable to launch the application - Java Error

Unable to launch the application - Java more information error

The main culprits behind this are some older Java files, kept as cache on the system, which will trigger one of the above errors.

The same error message will also appear if you try to launch the application from your Java application cache, from Java control panel (Start – settings – control panel – java), then the last section called “Temporary Internet Files” – View – and on the Java Cache Viewer window, if you right click one application in there and select Run (Online – Offline). This is the alternate access method without accessing directly the application via the web interface, to exclude any possible error with the web browsers.

Solution:

Using a part of the same windows I said you could test the Java cached application we will navigate to this menu:

Unable to launch the application - Java temporary files settings

To display the Java cached applications, you have to select “View” button from Temporary Internet Files instead of the Settings button we will be using in here.

Next thing to do is to select Delete Files button and then confirm the selection of the first two checkboxes (marked also by default): “Trace and log files” and “Cached Applications and Applets”.

Unable to launch the application - Java delete files and applications

Select every OK available to confirm the settings until you close all the windows and then try the faulty Java application again by accessing the web interface (ip or host). It should work now.

If you still encounter the same problem after clearing the Java cache, get the latest Java version; remove all previously installed Java versions (JRE and JDK if any) from add/remove programs, install the latest Java version, and try again.

If still not fixed, (highly unlikely but still…) try to provide me some extra details on your problem or use the Questions and Answers form and I will deal with your particular issue.

VN:F [1.9.22_1171]
Rating: 3.5/5 (20 votes cast)
Unable to launch the application - Java error, 3.5 out of 5 based on 20 ratings

Author: bitpsychobyte

Share This Post On

29 Comments

  1. Hi! I’m using Spherical Easel and I encounter the probllem “unable to run application” everytime I run the application when I am not connected over the internet. But when I’m online everything is fine. Is there a way that I can run this app offline? Please help.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
  2. I had the same error with Java 6 update 33, because I am on a limited right account I had no access to the java control panel. I tried to clear the cache with my admin account but I still had the same error. So I found out that you can actually see the Control panel on a limited right account. Here what I did :

    Go to Start, Run, type “javaws -viewer” and hit enter. Click on the X then go at the temporary file and delete them.

    This worked for me as a limited right user.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • Nice of you to share this with us. Thanks for the update. Maybe it will help others in your situation too.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  3. Hi. I am facing same issue. Unable to launch application. But if i disable proxy or add IP in proxy exception such like ;172.*, my application works.

    appreciate your help.

    thanks.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • Hello,

      You should configure the proxy in Java Control Panel (control panel – java) under General – Network Settings.
      This will only work if the application you are trying to start is located somewhere outside your network and your Internet is only available via a proxy.

      If the application is on the Intranet, adding the exception is the best thing you can do, and as long as it works I fail to see the problem as you don’t need proxy to access local resources.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  4. Unable to launch the java application what things should I make and everytime I run the program Always restart the programming and press ok or abort to cancel I try so many times but still not fix. I need your good explanation about this issue thank you so much

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • Well, what application are you trying to use ?

      As a tip I noticed that most java application launch errors can be fixed by lowering security level in your system’s control panel under java section – security tab. Just drag that pointer to the lowest possible. Also in the same location which is control panel – Java – General tab – under “Temporary Internet Files” go to Settings – delete files – mark all the three options: trace and log, cached app and installed app and confirm with Ok for delete.

      If the above don’t work you will have to tell me more about your system and if it ever worked and what changed if anything.

      VN:F [1.9.22_1171]
      Rating: +1 (from 1 vote)
      Post a Reply
      • Hi, i have followed step by step your suggestion but still don’t work. i used java 6 with operating system windows vista. support by browser IE 7 and Mozilla firefox.
        thank you so much

        VA:F [1.9.22_1171]
        Rating: 0 (from 0 votes)
    • Hehe, I’m glad you found out a solution to your issue and thank you for the feedback.
      I might update the article too, there are some things I think it would be better to be covered.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  5. Thanks for posting this article. I am getting the dreaded “Unable to launch device manager” error on a Cisco ASA 5510 running ASA Version 8.2(5) and ASDM 7.1.(5.100).

    I tried the recommended steps:
    – removing all but the latest Java (JAVA 7 update 51)
    – using the Java menu to delete the cache
    – manually deleting the Java cache
    – downgrading to Java 6 (Version 1.6.0 (build 1.6.0-b105))
    – Running Cisco ASDM as a Java Web Start application (In IE, FF, and Chrome I see, “Java Web Start is required to run ASDM, but it is not installed on this computer.” But when I click on “Install Java Web Start” it just takes me to http://www.oracle.com/technetwork/java/index.html
    – Uninstalling ASDM and reinstalling ASDM

    Any ideas?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • More details…

      I “upgraded” to Java 6 Update 45
      I don’t think that really made a difference, but this time I see “Run Cisco ASDM as a Java Web Start application” in ASDM and get a “Run ASDM” button in that section.

      – When clicking on the Run ASDM button, Chrome downloads asdm.jnlp
      – When I run asdm.jnlp file I get, “Unable to launch the application”, but I also get a “Detals” button for the error.

      Details are as follows:
      [Exception Tab of Details output]
      com.sun.deploy.net.FailedDownloadException: Unable to load resource: https:///admin/public/asdm.jnlp
      at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
      at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
      at com.sun.javaws.Launcher.launch(Unknown Source)
      at com.sun.javaws.Main.launchApp(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      at com.sun.javaws.Main$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      [Wrapped Exception Tab of Details output]
      javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
      at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
      at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
      at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
      at com.sun.javaws.Launcher.launch(Unknown Source)
      at com.sun.javaws.Main.launchApp(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      at com.sun.javaws.Main$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      VA:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  6. Hi,

    I’m trying to launch Cisco ASDM for ASA5500 and even though I’ve followed the steps you recommended, It’s still not working

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
  7. this guide helped me a lot. but just a simple step to highlight if someone can benefit from it.
    after deleting the temp file and also deleting them manually i was not able to get it working. what i had to do is….
    in Java control Panel under security Tab you have to lower the settings to the minimum. then relaunch your application from localhost it should be good to go!

    thanks, and hope it help!

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • Thanks for the heads up, any input from people is welcomed especially if it might help others as it is the case here.
      I can also confirm what you say about security because in newer java versions there are some security features more restrictive, so in some cases it might help lowering it. I am still collecting more info regarding this and maybe another article will follow as I had to deal with lowering security in order to make Java applications work but this only for newer Java versions. I’m not really sure what version introduced better security (I suspect 1.7.45 was the last that worked well without tampering with security) which caused it to act more restrictive but I will keep my eyes opened. :-)

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  8. I tried all the options mentioned, yet I get the error “Unable to launch the applicaiton” I see in details:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://XXX.XXX.XX.XX/…./bin/dictionaries_signed.jar

    Java version – 1.7
    Windows 7.

    Appreciate if you can help.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • First of all I’m sorry for the late reply.

      Regarding your issue, what kind of application is that, does it work on another computer ?

      According to the “download exception” message it is not the same issue as the one I presented in this article but maybe we can sort something out if you still didn’t fix it. It could be something related to the rights but I can only speculate as I don’t really know what application are we talking about, probably something internal to a company ?

      I can recommend you to test it on another computer if it works and also check in here: http://compinfopro.com/the-following-required-field-is-missing-from-the-launch-file-jnlp/ and see if you can extract the actual link if the application is present under Java in control panel and if that works.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  9. Did this. Still says unable to uninstall. Please help!

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • Something must be wrong, there is no uninstalling mentioned in my article.
      Can you give me more details please ? What are you trying to do ? What is the main issue ?

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  10. I had to set the actual path to the Java_Home and then it run the cmd files, but once run nothing happens.
    Nothing pops up. Am i meant to open something else as well? Which of the 3 cmd files am I meant to run, or in what order?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • What cmd files are you talking about as I think I’m missing something.
      After you set the Java_Home if you run inside a command prompt window the command “java -version” it should display the current java running version. Can you give me a little more details on what you are trying to do or what is the main problem in order to try to understand what are we facing ?

      Thank You.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  11. I followed your directions, however it still says “failed to launch application.” And when I select “details” it says: “MissingFieldException[ The following required field is missing from the launch file: ]” My java has been doing this for a few months now- it is such a pain! I would love it if you could help. Thanks!

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • Hi,

      What java version are you using and can you tell me if by any chance there are old versions left along with the current one you see when you use “java -version” in a command prompt window ?

      You can easily detect old version in add/remove program or in c:\program files\Java if any other version present than the output of java -version.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply
  12. Anytime. It is indeed a shame this process can’t be somehow bypassed or overcome, but still better than not having a workaround at all. :-)

    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
  13. I had to manually delete it also. It is a shame users have to do this. It just stopped working overnight. However, thank you for the solution. It works again.

    VA:F [1.9.22_1171]
    Rating: 0 (from 2 votes)
    Post a Reply
  14. THANK YOU!! Had to delete the cache manually though, but I never would’ve thought to do any of this without your guidance!

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • I’m glad it helped you and nice of you to share that it might help to delete them manually if the above don’t work.

      VN:F [1.9.22_1171]
      Rating: 0 (from 2 votes)
      Post a Reply
  15. did all that – did not work.
    exception:

    BadFieldException[ The field href has an invalid value: JavaDetection_applet.jnlp,JavaDetection_applet.jnlp]

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Post a Reply
    • Not sure this is related to the original error or any other that belongs to the family.

      The thing is that we can trace the error according to the exception and I can see three possible causes:

      – the href address can be incorrect
      – application at that specific address being faulty
      – the java version is incorrect for the application running at that specific address from the href tag

      Please read this article http://compinfopro.com/the-following-required-field-is-missing-from-the-launch-file-jnlp/ and follow the steps (and the solution that tells you to launch the href address directly in a browser and test it) maybe it helps you more.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Post a Reply

We would be glad to receive any feedback from you. Throw it at us, we can handle it!