Java Web Start doesn't run by clicking on the link, how can I fix it?

Hello,
I've been trying to make a Java Web Start application, I finished everything, but when I click on the link which is connected to the jnlp file, it only displays the XML code in the explorer instead of running the program. But if i download the jnlp file and double click it, it starts the Java Web Start. Anyone can tell me how to fix this?
I thought may be JRE installation, but I tried to click on some sample on the web, it works fine for other Java Web Start application, but not mine.
Thanks you.
Kit

Does your webserver know about JNLP? You need to map the .jnlp extension to "application/x-java-jnlp-file".
See the Web Server Setup section of http://java.sun.com/developer/technicalArticles/Programming/jnlp/

Similar Messages

  • Why Java Web Start doesn't support Pack200 out-of-the-box?

    Hello All,
    Why Java Web Start doesn't support Pack200 out-of-the-box? I was hoping that Java 6 would make things easier by adding direct support for Pack200 in Java Web Start and JNLP without needing to use servlets, etc.? All my clients are Java 5 or above so I can't push the Pack200 compressed version of the jar to every single one of them and there is no selection process needed. But I can't do it because of the servlet or complex Apache server setup requirement (it would be a headache to get customers' web server admins to set up Apache or whatever web server that way).
    My question is why is there unwillingness to add Pack200 support directly to Java Web Start and JNLP so that you can start Pack200 compressed jars just like you would start any jar using Java Web Start? Is te a technical problem?
    Thank you,
    Mete Kural

    Hallo,
    I didn�t try it, but the webstart FAQ�s read:
    Can I use Pack200 compression with the JnlpDownloadServlet?
    Yes. The JnlpDownloadServlet distributed in the samples directory of the JDK now supports Pack200. If you deploy yourfile.jar along with yourfile.jar.pack.gz the packed file will be downloaded when the client is running Java Web Start 1.5.0 or later.
    http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/faq.html#217
    For further information you may want to look at
    http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/downloadservletguide.html#pack200
    The configuration of the server and the the servlet (as described in the second link) is as easy as it seems.
    I got it working on the first try and it was my first experience with websevers at all.
    Bye Schippe
    Message was edited by:
    Schippe

  • I've recently noticed that since the last upgrade any links to pdf files on websited no longer work. All I get is a blank white page or a blank black page when I click on these links. Can I fix this?

    I've recently noticed that since the last upgrade any links to pdf files on websited no longer work. All I get is a blank white page or a blank black page when I click on these links. Can I fix this?

    YAY!! I have Safe mode!!
    um, now what?

  • My iPhone shut down and factory reset itself for no reason, and now when I plug it into my computer or any power source, the apple shines but it doesn't get any further than that. How can I fix it?

    My iPhone shut down and factory reset itself for no reason, and now when I plug it into my computer or any power source, the apple shines but it doesn't get any further than that. How can I fix it?

    Try Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • When i click new window it opens to the right of the screen with 1% showing if i click the green button it than opens in the screen how can i fix

    when i click new window it opens to the right of the screen with 1% showing if i click the green button it than opens in the screen how can i fix

    It's normal for links to open in the same tab as you browse if you left-click. You can Ctrl+click or middle click to open a link in a new tab. Are either of those broken?
    Some sites let you use a regular left click to open a link in a new tab (example: Google search settings), and some add-ons may change link behavior. Can you check whether one of your add-ons has been disabled?
    Tools > Add-ons > Extensions
    Also, if you use the Ask toolbar, try disabling it and see whether that makes any difference.

  • Java Web Start doesn't start

    I have installed Java 7 update 51 in Mac OS X 10.7.5. Yesterday Java Web Start starts well but today doesn't start. /Library/Application Support/Oracle/Java/javaws displays this error:
    Bad Installation: JAVAWS_HOME not set.

    Hi,
    I found some stuff, but it didn't work for me. Maybe you can give it a try.
    1. Deactivate Proxy
    Add or edit javaws.cfg.proxy.setting=NONE in the javaws.cfg file.
    2. Deactivate Splashscreen
    Add option "-Xnosplash" in the Windows registry for the .JNLP ending, i.e. "C:\Program Files\Java Web Start\javaws.exe" "-Xnosplash" "%1"
    3. Run with Java VM
    I created a .BAT file:
    SET JWS=C:/Programme/Java Web Start
    java -cp "%JWS%/javaws.jar" "-Djnlpx.home=%JWS%" com.sun.javaws.Main %1
    To run Java Web Start simply run the .BAT file. To run a specific application run the .BAT file with the complete URL of the .JNLP file.
    If this works for you, please drop a note here! Thanks!
    Bye
    Markus

  • Application started using Java Web Start doesn't launch the first time

    I have a Facebook photo uploader application that I plan to distribute using Java Web Start. I'm using Java 6u4 on Windows XP SP2 with 2GB of RAM. I have Java 6u3, Java 6u4 and Java 5 u14 installed and I'm sure the one used is Java 6u4.
    I signed my application and make use of all security settings.
    Here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="http://www.antaki.ca/bloom/jars"
         href="http://www.antaki.ca/bloom/Bloom.jnlp">
    <information>
        <title>Bloom</title>
        <vendor>Carl Antaki</vendor>
        <icon kind="splash" href="http://www.antaki.ca/bloom/Bloom.jpg"/>
        <icon href="http://www.antaki.ca/bloom/bloom32.jpg"/>
      <shortcut online="false">
      <desktop/>
      <menu submenu="Bloom"/>
      </shortcut>
    </information>
        <resources>
            <j2se version="1.5+" initial-heap-size="32m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se" />
            <property name="sun.java2d.d3d" value="false"/>
            <jar href="http://www.antaki.ca/bloom/jars/Bloom.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/BrowserLauncher2-1_3.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/SmartProgressMonitor.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/facebook.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/forms-1.1.0.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/json_simple.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swing-worker-1.1.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/glazedlists_java15.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swingx-0.9.1.jar"/>   
            <jar href="http://www.antaki.ca/bloom/jars/jhbasic.jar"/>
       </resources>
    <security>
         <all-permissions/>
      </security>
    <application-desc main-class="ca.antaki.www.bloom.gui.Bloom" />
    </jnlp>Here is the link for my application http://antaki.ca/bloom/Bloom.jnlp
    The first time the application is installed using a link on the browser it's downloaded then the certificate dialog is shown, after that I check the checkbox to accept the certificate permanently. The application doesn't load, it only loads the second time although I see it in the task manager. If I don't accept the certificate permanently it does load. This happens on both Firefox 2 and IE 7. I enabled the console and logging but nothing shows up there.That's really a weird problem, I wonder if Java Web Start is a viable deployment option, it does have great capabilities such as autoupdate but still seems to have important bugs.
    Does anyone have any clue about what is going on.
    The problem doesn't occur on Ubuntu 7.10.
    Thanks,
    Carl Antaki

    >
    You were right my XML file was not correct. I still couldn't find a valid JNLP validator. Sun has to provide that.>No they don't (have to supply a validator for their own document type, though it makes sense to do so), but yes they do (provide a tool that validates XML against schemas). Java can validate XML against a DTD or XSD.
    Check these two threads (and chase the links) for more details.
    JNLP xsd schema
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/c6f65bf1df5f105d/30c6b7e2dc342dc4>
    Validate XML against DTD? XSD OK. SSCCE.
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/5b997a1edb765b11/e831f3066eb4aa38>
    Look especially for the posts by Piotr Kobzda.
    I had a tool on my site based largely on Piotr's codes, that linked to a valid JNLP DTD and XSD, but unfortunately my site is offline at the moment. Andy assures me that the JNLP 6.0 DTD has been corrected for the developer ..download tutorials of web start, though the online (web site) version may still be invalid.

  • Java Web Start doesn't start (Windows XP)

    Hi,
    I've installed Java Web Start on a Windows XP machine. When I try to run an application or I try to open Java Web Start directly the "Java Web Start" splash screen appears for a few seconds and than disappears and nothing else happens.
    I heard that other people using Windows XP have the same problem. Can anyone help?
    Java Runtime is 1.4.0, but I also tried some other runtimes as well with the same result.
    Thanks in advance
    Markus

    Hi,
    I found some stuff, but it didn't work for me. Maybe you can give it a try.
    1. Deactivate Proxy
    Add or edit javaws.cfg.proxy.setting=NONE in the javaws.cfg file.
    2. Deactivate Splashscreen
    Add option "-Xnosplash" in the Windows registry for the .JNLP ending, i.e. "C:\Program Files\Java Web Start\javaws.exe" "-Xnosplash" "%1"
    3. Run with Java VM
    I created a .BAT file:
    SET JWS=C:/Programme/Java Web Start
    java -cp "%JWS%/javaws.jar" "-Djnlpx.home=%JWS%" com.sun.javaws.Main %1
    To run Java Web Start simply run the .BAT file. To run a specific application run the .BAT file with the complete URL of the .JNLP file.
    If this works for you, please drop a note here! Thanks!
    Bye
    Markus

  • A RCP Application using javafx deployed by java web start,in jre8u25 run have problem.

    a RCP Application using javafx deployed by java web start,in jre8u20 can use jre7run the applicat,but in jre8u25 use jre7run application have problem.
    in jre8u20 use jre7 run the application can run success.
    but in jre8u20 the control print:
    java.lang.UnsupportedClassVersionError: com/sun/javafx/runtime/VersionInfo : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sun.deploy.config.JfxRuntime.runtimeForPath(Unknown Source)
    at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
    at com.sun.deploy.config.JREInfo.setInstalledJREList(Unknown Source)
    at com.sun.deploy.config.ClientConfig.storeInstalledJREs(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    the reason (i think) is that the application will use javafx's com.sum.javafx.runtime.VersionInfo,i use e(fx)clipse load the javafx runtime.in jre8u20,the web start use jre7's class.in jre8u25,the web start use jre8's class.
    so i use jre7 run the application get this result.
    how could i solve this problem?

    Hi,
    I have created client stubs for a webservice using axis wsdl2java tool. When I try calling these stubbed methods from JUnit tests, they are working fine but when I try to execute the jar (it is a swing) I get the following exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.Gudds.SeCURE.MainUI.<init>(MainUI.java:76)
    at com.Gudds.SeCURE.Main.Start(Main.java:62)
    at org.owasp.webscarab.WebScarab.main(WebScarab.java:34)
    I have put the jaxrpc.jar in the classpath and I suppose this jar has the java.xml.rpc.service class but I donot understand why it fails while executing the jar but works fine from the eclipse IDe. Plase help me.
    Regrdas,
    Kundan

  • Web Start doesn't run after install

    Hi all,
    I'm wondering wether Web Start doesn't start after successful installation. Only the splash screen is shown a while when starting JWS and the administration screen doesn't pop up.
    I've read some mails about similiar problems (proxy?), but didn't resolve the problem yet.
    NT 4.0 SP 5, JWS 1.01._01 with RT
    also tried: JSDK 1.4 beta3 with JWS included
    please help. thank you
    regards, thomas

    Hello,
    I am not sure, but this does sound like I had the same problem. I got the following reply:
    Take a look at:
    http://www.geocities.com/vamp201/jwsfaq.html
    --> 'Why can't I start Web Start's app manager under Windows? Why does the app manager's preferences dialog fail to appear? '
    This might be a proxy issue. Try to turn off your proxy by putting
    javaws.cfg.proxy.setting=NONE
    in your 'javaws.cfg' file and see if it Web Start's app manager shows up then.
    I have added the line mentioned above, and it worked fine. In addition I added the following line:
    javaws.cfg.jre.default=0
    Check this out and good luck!

  • When I click on any button on Facebook, it doesn't reasponed... why? and how can I fix it?

    I go to facebook, and none of the buttons work, they work on IE, Safari, and chrome just fine. I jsut click a button (such as comment, profile, and search) but nothing works. how can I fix this?
    == URL of affected sites ==
    http://facebook.com

    Hey Aggiesmommy 91,
    Thanks for the question. I understand that you are experiencing issues downloading purchased iBooks. Let’s see if we can troubleshoot this so you can enjoy those purchases.
    First, try forcing the iBooks application to close:
    Force an app to close in iOS - Apple Support
    http://support.apple.com/en-us/ht5137
    If the issue persists, try restarting your iPad:
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    http://support.apple.com/en-us/HT201559
    Thanks,
    Matt M.

  • JavaFX run failure except under partial reinstall - How can I fix?

    First, I apologize if this isn't the correct forum for an issue like this. After numerous hours of google searches and re-installations, I am out of ideas as to how to proceed. If there is a better forum to seek assistance, please direct me to it - Thank you
    I have posted all error message screens in order:
    [image 1|http://www.lastrail.net/errors/javafx/1a.jpg] - [image 2|http://www.lastrail.net/errors/javafx/2a.jpg] - [image 3|http://www.lastrail.net/errors/javafx/3a.jpg]
    [image 4|http://www.lastrail.net/errors/javafx/4a.jpg] - [image 5|http://www.lastrail.net/errors/javafx/5a.jpg] - [image 6|http://www.lastrail.net/errors/javafx/6a.jpg]
    [image 7|http://www.lastrail.net/errors/javafx/7a.jpg] - [image 8|http://www.lastrail.net/errors/javafx/8a.jpg] - [image 9|http://www.lastrail.net/errors/javafx/9a.jpg]
    I have a Vista 32 system with AVG antivirus, Spybot antispyware and Windows firewall. I formerly used Comodo firewall but uninstalled in an effort to fix this problem.
    I have installed Java 6 build 11 and when I go to javafx/samples it says that I have an (0 - unknown) version that doesn't support JavaFX. It re-directs me to Java update site to download the "latest" version. If I let it, it uninstalls Build 11 and then reinstalls Build 11, afterwhich it still doesn't run the any of the JavaFX samples. Oddly enough however, if I immediately cancel the re-direct dialog box from the web browser, the JavaFX sample runs. If I immediately try another sample, the exact same thing happens. Says that the (0-unknown) version doesn't support JavaFX and re-directs to download updated version. Non "FX" Java runs normally. If I try to execute sample with Java Web Start it tries to download the jnlp file rather than run it.
    I have un-installed all prior versions of Java, reinstalled version 6 - 11 cleanly, used CCleaner to remove all traces of Comodo within the registry, tried to manually create the file associations from jnlp to javaws.exe, installed and removed the JavaFX 1.0 Production Suite, and lastly reverted to an earlier restore point from within Vista to undo any changes I made while experimenting.
    Thank you for any help,
    Ron
    Intel D975BX2 MB, Q6600 Quad Core, 4 GB ram, Nvidia 9800 GTX+ 512mb video, IE7 & Firefox 3.0.3.

    I think this is a bug in our javascript. Look for an update this week or next. Thanks!

  • When writing email, links I send are not click-able why? how can I fix this?

    want to add click-able links to emails I use Hotmail and when using Firefox these do not show as clickable as they do say in MSN How do I fix this?
    for instance : http://havahartpetrescue.petfinder.com

    Set it in Safari's Preferences/General

  • I experienced the same prob with Yosemite where my screen went black on startup. I was able to "fix" it and log into my qccount but my mac is running super slow now even just at simple clicks and commands. How can I fix this? Help please!

    I updated to Yosemite and everything worked great for a few days until earlier. My mac was plugged to my TV via HDMI wen everything hanged. I did a hard reset and the screen was just black during startup. There were the startup sounds but no images from the screen. it did have images at one point where it gave me options to reset my password. I did a couple of hard reboots and pressed Alt/Option or Cmd+Option+P+R based on previous posts. Didnt know which w but I was able to access my account and log in. My big problem right now is that my Mac became super slow. Even at the simple commands/clicks

    My mac was okay up until a few hours ago. If anyone knows how to fix this, would really appreciate your help. Thank you!

  • I would like to do a loop (with LabWindows CVI 5.0) if the result of the toggle button check box is right. But it doesn't run because I don't know how can I have this data?

    If you have an answer, please send me an e-mail.
    Thank you very much for your help.
    A French guy.

    Guess I'm missing something...
    The simplest way to do this is to use GetCtrlVal (panel, Control, &val);
    val (integer) will be 0 if checkbox is not checked, 1 if checked.
    Should your actual problem be different just explain me and I'll try to help you.
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • Lower memory slot doens't like me anymore!

    I have a Powerbook 1.25mhz that had 768mb of RAM (1-512mb + 1-256mb). With Aperture, you need at least 1GB so I ordered another 512mb to replace the 256mb module. After installing the new 512mb, my system would lock up hard after booting to the deskt

  • Set Active Directory Folder Permission

    We have added a Lion server to an active directory domain, however I cannot determine how to set Active Directory permissions on shared folders on the Mac. Ideally we want our windows users to access shared folders on the Mac however we would like to

  • How to make a gradient from 2 different appearances (on 2 neighbor shapes)

    Hi, I am writing a parser from VRML 1 to java3d. The scene I am trying to load is made of many IndexedFaceSets. To translate this in java3d I'm using IndexedTriangleArray. The problem is that the IndexedFaceSet from Vrml has a lot of faces with diffe

  • Adobe Première Pro CS6 Windows

    Bonjour, Je boss sur des vidéo via Première Pro CS6. J'ai une vidéo de base qui me permet d'extraire des séquences puis d'exporter. Le problème est que sur le vidéo de base j'ai bien 100% des personnes mais sur l'extrait que je récupère c'est zomé et

  • No "lo" line in /etc/rc.conf after a fresh install?

    I just did a reinstall of Arch this morning using 2007.08-2 ftp installation CD and noticed that there is no 'lo' line in /etc/rc.conf. Is this intentional? I've manually added the 'lo' line back into /etc/rc.conf but I still would like to know wheth