Unable to launch application from my machine:Bad MIME Type

Hi,
The following error message was printed when I tried to access the SwingSet2 demo from the Java Web Start site.
An error occurred while launching/running the application.
Title: SwingSet2
Vendor: Sun Microsystems, Inc.
Category: Download Error
Bad MIME type returned from server when accessing resource: http://java.sun.com/products/javawebstart/apps/SwingSet2.jnlp - text/html
Can you please suggest what is to be done to rectufy this problem?
Regards,
Satish

Bad MIME type returned from server when accessing
resource:
http://java.sun.com/products/javawebstart/apps/SwingSet
.jnlp - text/htmlit should return application/x-java-jnlp-file.
My guess is that you use proxy which messes up headers.
Otherwise try to reinstall Web Start, then enable the console and log output in Web Start's advanced preferences to get more clues what's going on.
Regards,
Marc

Similar Messages

  • Unable to launch application on Linux machine

    Hi,
    We have a Java based product developed as desktop application. This product has a tree structure built-in. and while connecting to few of the nodes, we are getting the following error: "*Cannot write XdndAware property*".
    Note:
    1. We are running the application on a Linux machine.
    2. We are using JNLP to launch the application.
    3. Only few nodes are causing this issue.
    4. Tried putting -DsuppressSwingDropSupport=true in JNLP file, but no progress.
    5. This happens on JDK1.6.0_23 and above
    Can someone help us to resolve this issue.
    Thank you.
    Regards,
    KNP

    Let me explain my current requirement.
    1. All the client jars should be downloaded every time I click a link (as of now its a JNLP link, but this can change).
    2. And this should be platform independent
    3. I stated in the earlier description I should be able to pass arguments (suppressSwingDropSupport, etc) to VM to resolve the actual issue.
    Can someone please suggest any other approach?
    I have one more generic question: Can I write my own JNLP defining XSD & DTD, so that it can accept all the arguments whichever I can pass to the VM? If so, how to do this?
    Please respond

  • 'Unable to Launch Application Error' - Java Web Start Running Under MS IIS.

    I am attempting to render the following .jnlp in MS IE:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for LottoMadness Application -->
    <jnlp
       codebase="http://localhost/LottoMadness/"
       href="LottoMadness.jnlp">
       <information>
         <title>LottoMadness Application</title>
         <vendor>Rogers Cadenhead</vendor>
         <homepage href="http://localhost/LottoMadness/"/>
         <icon href="lottobigicon.gif"/>
       </information>
       <resources>
         <j2se version="1.5"/>
         <jar href="LottoMadness.jar"/>
       </resources>
       <application-desc main-class="LottoMadness"/>
    </jnlp>I've deployed the .jnlp, .gif, and .jar to MS IIS, running locally on my PC.
    When I attempt to render the .jnlp in IE I obtain an 'Application Error' window stating 'Unable to Launch Application'. Clicking details gives me:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost/LottoMadness/LottoMadness.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.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.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)I have configured MS IIS for Web Start, by setting the Extension/Content Type fields to .jnlp and application/x-java-jnlp-file.
    (The .jnlp is basically from 'Programming with Java in 24 Hours', as this is the book I am learning Java from.)

    AndrewThompson64 wrote:
    I am not used to seeing references to a local server that do not include a port number.
    E.G. http://localhost:8080/LottoMadness/
    I have deployed the following HTML (HelpMe.html) to the web server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Help Me!
    </body>
    </html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
    http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
    >
    As an aside, what happens if (your MS IIS is running and) you click a direct link to..
    [http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
    When I click this link I get the error and exception I cited in my previous post.

  • Unable to launch application with webstart

    Hi all, hope someone can help
    I recently installed j2se 5.0 update 1 and uninstalled my earlier version of 1.4.2_06.
    Since uninstalling the earlier version I am unable to run my application, I get the following error:
    An error occurred while launching/running the application.
    Title: Uploader
    Vendor: Me
    Category: Launch File Error
    Could not parse launch file. Error at line 0.
    This is from the exception tab:
    JNLParseException[ Could not parse launch file. Error at line 0.]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Here is a copy of my jnlp file
    <?php
    header('Content-type: application/x-java-jnlp-file');
    echo '<?xml version="1.0" encoding="UTF-8"?>';
    echo '<jnlp spec="1.0+" codebase="http://www.******.com.au/uploader/fileuploader" href="fileuploader_jnlp.php">';
    echo ' <information>';
    echo ' <title>Uploader</title>';
    echo ' <vendor>Me</vendor>';
    echo ' <homepage href="index.html" />';
    echo ' <description></description>';
    echo ' </information>';
    echo ' <resources>';
    echo ' <j2se version="1.4"/>';
    echo ' <jar href="fileuploader.jar" main="true" />';
    echo ' <jar href="JimiProClasses.jar" />';
    echo ' </resources>';
    echo ' <application-desc main-class="fileuploader.FileUploader">';
    echo ' <argument>http://www.********.com.au/uploader/fileuploader/upload.php</argument>';
    echo ' <argument>25/</argument>';
    //echo ' <argument>100000</argument>';
    //echo ' <argument>thomas:test</argument>';
    echo ' </application>';
    echo ' <security>';
    echo ' <all-permissions/>';
    echo ' </security>';
    echo '</jnlp>';
    ?>
    The application runs fine if I uninstall version 5.0 and revert to 1.4.2_06
    but I would like it to be compatible with newer versions of java.
    P.S. Im not a programer so if you could explain to me in simple terms what Im doing wrong it would be great.
    Thanks in advance
    Dean

    I'm a programming illiterate having the same problem with the latest java.
    Unable to Launch Application
    Exception:
    JNLParseException[ Could not parse launch file. Error at line 0.]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(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:
    java.io.EOFException: encoding.error.not.xml
         at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(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)
    What am I supposed to do? Java Web Start is supposed to be dummy friendly :(
    Edit: Problem solved! It seems the file wasn't completely removed and parts of it were corrupted under the java viewer-resources (old cache messing it up). Once removed the problems were gone, so anyone having this problem should check that out :D
    Edited by: Mr.O on Jul 21, 2008 10:32 PM

  • How can I restore just one application from Time Machine?

    Hello, I have just one application that is really acting quirky and won't load correctly anymore and I would like to restore that application from Time Machine but am just not sure how to do that. Can someone please walk me through step by step on how to restore just one application. Thank you. Jean
    Message was edited by: anokienurse

    Before you restore an application from a Time Machine backup it would be wiser to remove the current installed copy then reinstall from the application's original distribution medium - download, CD/DVD, etc. The reason for this is that Time Machine backs up every hour. By now the bad version of this application is now backed up to your Time Machine backup drive. Restoring from the backup won't resolve your problem.
    First, uninstall the old program. If the program came with an uninstaller then use it. If not then start by deleting the application from the Applications folder. Then locate all the support files associated with the application and remove them, too. Look for these in:
    /Users/yourusername/Library/Preferences
    /Users/yourusername/Library/Applications Support
    Applications may come with a separate uninstaller program that could also be in your Applications folder. Some applications may install other files in other locations on your computer. If you tell us what the application is we may be able to provide additional help.
    You may find more information here: The XLab FAQs. Read the FAQ on uninstalling software.

  • Restore some application from time machine problem.

    Hi Everybody,
    I just restored my MBP from Time Machine, everything went fine. But I feel my MBR start up much slower than before. So now I want to do a clean install Leopard.
    I would like to ask you guys who experiences in Time Machine that after installing Leopard, I want to restore some applications from Time Machine such as MS office, Wow, Photoshop...Will they fully function if I restore from TM?
    I acknowledge that some applications are like packages so after installing in Mac OS, they are actually located in different places in the system. Whereas others is like small application so we just copy and use. So if big applications as packages, I can not just copy from TM and put it in my new Leopard to use, can't I? If I can't, so is there any ways I can copy it back and use?
    I am so confusing about this and I hope very much that somebody could help me out this problem, I would greatly appreciated.
    Thank you.

    +I just restored my MBP from Time Machine, everything went fine. But I feel my MBR start up much slower than before. So now I want to do a clean install Leopard.+
    Wait on the erase and install. Launch Disk Utility which is in the Applications > Utilities folder and Verify your disk and repair permissions. If Verify shows any errors boot from the Leopard install DVD by holding the "c" key down until the spinning gear appears. Pick a language and choose Utilities > Disk and run Repair until no errors appear. Repair permissions.
    If that doesn't work try resetting the PRAM which quite often fixes slow boot times.
    http://docs.info.apple.com/article.html?artnum=2238
    +Would like to ask you guys who experiences in Time Machine that after installing Leopard, I want to restore some applications from Time Machine such as MS office, Wow, Photoshop...Will they fully function if I restore from TM?+
    I don't know about Wow but Photoshop and MS Office install too many files in too many places for it to be practical to restore them from Time Machine backups after doing an erase and install. You need to reinstall those from the original disks for those applications.

  • Java - Unable to launch application

    The problem: When I try to run ASDM on my Cisco 5550, I'm getting the dialog box "Unable to launch application". When I click on "Details", I see the error: "The application has requested a version of the JRE (1.5+) that is not installed".
    The system I'm running this on is a Mac Pro with OS X Lion 10.7.5, and the latest Java version 7u13.
    The initial lines of "show ver" on the firewall are:
    # show ver
    Cisco Adaptive Security Appliance Software Version 8.2(2)
    Device Manager Version 6.3(3)
    This is a relatively new problem; as recently as two weeks ago I was able to run ASDM with no problem. I suspect that the latest security-related Java updates have caused something to break.
    Any ideas?

    Solved this one on my own: The solution was to install the latest ASDM, 7.1.1_52. (This had occurred to me, but I didn't know if was compatible with the older ASA 8.2(2). It looks like it is!)

  • Unable to launch application error

    Everytime I try to open a jnlp file i get the Unable to launch application error. I have no clue how to fix this and would like to know a solution. I currently have JRE 6 Update 6. Here is the error info.
    java.lang.Exception: cache failed forhttp://pokeglobal.sourceforge.net/game/beta.jnlp
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(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)
    Java Web Start 1.6.0_06
    Using JRE version 1.6.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\MILTON
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    #### Java Web Start Error:
    #### cache failed forhttp://pokeglobal.sourceforge.net/game/beta.jnlp

    I see, you found a solution for this problem. Can you share it with me please, because i am having the same error right now.

  • SDDM 4 EA3: Unable to launch the Java Virtual Machine (Win 7 64bit)

    SQL Developer v4 EA3 is working fine, but I decided to download the stand-alone SQL Developer Data Modeler because I had seen people recommending using it in favor of the one bundled with SQLDEV.
    Windows 7 64-bit
    Java (64 bit) installed into C:\Program Files\Java\jdk1.7.0_25
    When I double-click the short-cut to start SDDM I get the following pop-up dialog error:
    Title:  Oracle SQL Developer Data Modeler
    Unable to launch the Java Virtual Machine
    Located at path:
    C:\Program Files\Java\jdk1.7.0_25\bin\msvcr100.dll
    ***NewsFlash***
    I think I stumbled on the solution just prior to posting,  so here is what worked for me in case anyone else runs into this....
    I had created a desktop short-cut to "C:\Program Files\datamodeler\datamodeler.exe", which I am guessing is the 32bit version of the binary file.   
    I was able to launch successfully by pointing to "C:\Program Files\datamodeler\datamodeler64.exe"

    That path is incorrect - strip everything after the jdk1.7.0_45\

  • TS1277 Unable to launch itunes from my PC. Get an error stating MSVCR80.dll is missing and need to re-install itunes. I've reinstalled numerous times...still not working. What should I do?

    I'm currently unable to launch itunes from my PC. I get an error message stating that MSVCR80.dll is missing. It recommends that I re-install itunes and that may correct the issue. I've re-installed numerous times and nothing seems to be working. What should I do?

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99968)

  • Why do I get "You don't have permission to perform this task" when I try to restore an application from Time Machine?

    Why do I get"You do't have permmission to perform this task" when I try to restore an application from Time Machine backup on my Imac running Mavericks?

    See Pondini's TM FAQs, for details.

  • LLVM ERROR: Error: Unable to launch the Java Virtual Machine

    Having expanded the kit and followed directions to compile the samples
    On Windows 7, the complaint is
         LLVM ERROR: Error: Unable to launch the Java Virtual Machine.
    I have about a dozen JVMs installed, the default is 64 bit java 1.8_05
    make FLASCC="/cygdrive/c/crossbridge/sdk" FLEX="C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0"
    make[2]: Entering directory `/cygdrive/c/crossbridge/samples/01_HelloWorld'
    -------- Sample 1 --------
    First let's compile it as a projector:
    "/cygdrive/c/crossbridge/sdk/usr/bin/gcc" -Werror -Wno-write-strings -Wno-trigraphs hello.c -o hello.exe
    cc1: error in backend: Failed to run /cygdrive/c/crossbridge/sdk/usr/bin/../../usr/bin/llc with args: -jvm=C:\windows\sy
    stem32\java -filetype=obj C:\crossbridge\cygwin\tmp\ccb4oprU.o -o C:\crossbridge\cygwin\tmp\ccb4oprU.o -jvmopt -Xmx1500M
    Error:
    LLVM ERROR: Error: Unable to launch the Java Virtual Machine.
    This usually means you have a 32bit JVM installed or have set your Java heap size too large.
    Try lowering the Java heap size by passing "-jvmopt=-Xmx1G" to gcc/g++.
    Stack dump:
    0.      Program arguments: C:\crossbridge\sdk\usr\bin\llc.exe -jvm=C:\windows\system32\java -filetype=obj C:\crossbridge
    \cygwin\tmp\ccb4oprU.o -o C:\crossbridge\cygwin\tmp\ccb4oprU.o -jvmopt -Xmx1500M
    1.      Running pass 'Function Pass Manager' on module 'C:\crossbridge\cygwin\tmp\ccb4oprU.o'.

    After the above, the "samples" build still failed on sample 5.
    My explanation is that my typical devlopers path is full of all kinds of stuff, including perl,
    msvc, some version or other of cygwin, some random unix command tools, and so on.
    I eventually fixed the rest of the samples build process by cleaning up my path.
    In run.bat, before the path modification
    # set a minimal path to avoid contamination of the environment with unexpected programs
    # note this includes the JDK path we want to use
    set path=C:\java\jdk1.8.0\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;

  • Launch exe from remote machine

    Hi All,
    How can I launch an executable residing in machine A from machine B?
    I'm trying web services but no luck.
    Am I the wrong track?
    Thanks a lot

    What does "I'm trying web services but no luck." mean? As I see it, you have two separate things to accomplish here. One is the launchiing of the executable locally. The other is the triggering of that event remotely. Deal with one, then the other. Much simpler. That is, encapsulate the launching in a single method call, then work on calling it remotely. Then your problem is simply "How do I call a method remotely?", and entirely decoupled from details such as "launch exe from remote machine"

  • Launching applications from an applet

    How do you launch applications from an applet? For example,launch a notepad exceutable when you click on a button (an awt component)?

    Hi,
    you can launch an application from the applet using the Java RunTime environment.
    Runtime.getRuntime().exec(applicationName);
    But to do this the applet needs permissions.It should be a trusted applet.

  • How can i launch application from the terminal in 32-bit mode?

    how can i launch application from the terminal in 32-bit mode?
    everytime i have to check and uncheck the finder's info panel and it's really annoying, thanks!

    ''Courtesy of cor-el''
    https://support.mozilla.com/en-US/questions/823873
    Other users should note that Firefox has public release versions of 64bit only for Mac And Linux; not for Windows, yet.

Maybe you are looking for

  • Accrual Reversal Issue -F.81 -Urgent please

    Hi, I have made a accrual document in the begining of september and tried to reverse in month end. But the issue issue..while trying to reverse ,the Accrual document is showing under Docs which cannnot be reversed. So what should i do  kindly help me

  • MD04-Returns PO and Delivery

    Hi All, Please help me understand stock/requirements list (MD04) with respect to return PO. when a return PO is created and a delivery is created for that, both the MRP elements (return PO and the delivery ) appear in MD04 screen. The stock/requireme

  • Help me ! I want to recovery Windown XP in X60 . I don't know how to make it .

    First , My X60 install windown XP . But I formated C partition . How can i recovery my laptop ? Who has a CD recovery for IBM X60 , please sent to me ?

  • Merging debit documents

    I have created many Debit documents for 1 customer and that I expected/wanted that customer to receive 1P/order number per invoice. Does any one know where it could have gone wrong. thanks in advance for your help. Regards, Lata

  • HT2731 The itunes store keeps telling me to contact Itunes Support.WTH does this even mean???

    Tthe itunes store keeps telling me contact itunes support in order to complete my Apple ID. What does this even mean??? I filled out all my billing information and everything.