How to publish a web page displaying a JFX app ?

Hello (again '-_-) !
I'd like to create a web page displaying a JavaFX application.
When I launch the html file generated by NetBeans in the dist folder, It works perfectly, but when I put the same files (.html and .jar) on a webserver, the app never starts... I only get the Java image-loading spinner.
Is there something else to do to plubish a web page displaying a JFX application ?
Best regards,
Cereal.

Ok, so i read the "10 minutes tutorial" and i think that my files are ok :
DemoFFE_browser.jnlp :
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://xxx.xxx.xxx.xxx/camera/ffe/" href="DemoFFE_browser.jnlp">
    <information>
        <title>DemoFFE</title>
        <vendor>fjeannet</vendor>
        <homepage href="http://xxx.xxx.xxx.xxx/camera/ffe/"/>
        <description>DemoFFE</description>
        <offline-allowed/>
        <shortcut>
            <desktop/>
        </shortcut>
    </information>
    <resources>
        <j2se version="1.5+"/>
        <extension name="JavaFX Runtime" href="http://dl.javafx.com/javafx-rt.jnlp"/>
        <jar href="DemoFFE.jar" main="true"/>
    </resources>
    <applet-desc name="DemoFFE" main-class="com.sun.javafx.runtime.adapter.Applet" width="176" height="144">
        <param name="MainJavaFXScript" value="demoffe.Main">
    </applet-desc>
</jnlp>DemoFFE.html :
<html>
<head>
<title>DemoFFE</title>
</head>
<body>
<script src="http://dl.javafx.com/dtfx.js"></script>
<script>
    javafx(
              archive: "DemoFFE.jar",
              draggable: true,
              width: 176,
              height: 144,
              code: "demoffe.Main",
              name: "DemoFFE"
</script>
</body>
</html>The java console still displays this message
exception : null.
java.io.FileNotFoundException: JNLP not available: DemoFFE_browser.jnlp
     at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Exception : java.io.FileNotFoundException: JNLP not available: DemoFFE_browser.jnlpAll my files (DemoFFE.jar, DemoFFE_browser.jnlp and DemoFFE.html) are in the same directory.
Does somenoe know where to set the path of DemoFFE_browser.jnlp ?

Similar Messages

  • How to publish custom web site with own domain name?

    Hey out there. I wonder if anyone can give me any tips on how to publish a web site with my own domain name.
    I have a web site I'm building and I want to purchase a domain name and then publish the site using that domain name.
    I know how to buy a domain name. I have a .mac account so I'm hoping that .mac can host the site. What I don't quite understand how to do is get .mac to host the site using that domain name. I looked through Apple Support but couldn't find what I was looking for. Just wondering if anyone has been in this situation. Thanks in advance.
    Dave
    [email protected]

    Dave ~ Welcome to the discussions. .Mac was re-branded as MobileMe last July. If you're not building your site with iWeb, it's considered to be a "custom" website. These Apple docs may help:
    MobileMe: How to publish a custom website
    iWeb ’08: Using your own domain name
    ...Use this search page to find such documents:
    http://support.apple.com/kb/index?page=search
    Note that you don't need to have iLife '08 to be able to direct your domain name to your custom website published to MobileMe. As someone wrote on another thread:
    "My personal domain is linked to my MM but i don't even have ilife on my mac. When you go to the options in MM to link your personal domain to your MM it provides directions that will guide you with setting up your godaddy settings."
    ...Where "MM" is MobileMe here:
    http://me.com/account
    ...+Personal Domain+ tab, and "godaddy" is wherever your domain name is registered.

  • How to open a web page in JFrame.

    Please let me know how to open a web page in the Java Frame.

    HTML code can be viewed in any Swing component you want.

  • Publish a web page

    newbie to iweb. First time I tried to publish a web page via iweb. Each time I try announce the web page has been published it tells me "Cannot send message using the server smtp.mac.com:XXXXXXXX(my name). The connection to the server on port 25 timed out.
    When I run Mail Connection Doctor my connection and login to server succeded with my account name however my smtp.mac.com could not connect to SMTP server.
    What does this mean?

    I don't use any of the free editors but a Google search resulted in several being available. Since they are free you could try them and stick with the one that best works for you.http://webdesign.about.com/od/macintoshhtmleditors/tp/free-macintosh-editors.htm

  • I trying to publish a web page from iweb, but it doesn't recognize my MobileMe account

    I trying to publish a web page from iweb, but it doesn't recognize my MobileMe accouI trying to publish a web page from iweb, but it doesn't recognize my MobileMe account, what can I do?

    MobileMe has been discontinued for over 2 years now.  You'll need to find a new hosting server for your website.
    This may be of help to you: Life After MobileMe.

  • I have the 60 day trial of .mac can I publish a web page, nothing is happen

    I thought I could try the .mac account free for 60 days and get to publish my web page, it gives the directions but says I have nothing in my pictures. I do, and I've tried adding more but nothing is working. I think maybe I just can't do it unless I pay. Any ideas??

    Someone told me :"iWeb, if you have it on your computer, is another way of easily making web pages, though it has its limitations.
    You can do all this with the trial of iDisk, and then move to a subscription if you want to, or let it lapse"
    So that's why I said iDisk, apparently that is included in my .mac...( sorry I'm so slow, but this is still all just words to me at this point. )
    Well, iDisk is not iWeb and will probably not get my web page created...right? And, I can't even get into iDisk because it keeps saying I have the wrong username and/or passcode and "that it will be sent in the clear" whatever that means. (Yikes for this much time lost it would be cheaper to pay someone. ) Anyhow, was that incorrect info??? and why can't I open my iDisk....and thirdly, any way to get a free trial of iWeb? since their is no way to create a site without it.

  • Time-based publishing in Web Page Composer

    Hi,
    I'm evaluating Web Page Composer (WPC) for a customer and one of the requirements is time-based publishing for web pages and navigation, but I can’t find any information on that subject.
    Do you know if it’s possible to set up time-based publishing for WPC pages?
    Thanks
    Martin

    FYI.
    I contacted SAP about time-based publishing for WPC pages and unfortunately this feature is not implemented in current versions of WPC. My request has been added to the feature request list for future versions.
    Regards
    Martin

  • Adobe air how do links between web pages

    Hello!
    I try to use adobe air with dreamweaver : The tutorial shows how to package a web page but I can not integrate multiple pages. The html code <a href="page2.html"> test link </ a> is incorrect? Should I add something in the xml file?
    Thanks for help.

    It's just basic page for test :
    <html>
    <head>
    <title>AIRHelloWorld</title>
    <script>
    function init()
    runtime.trace("init function called");
    </script>
    </head>
    <body onload="init()">
    <div align="center">Hello World</div>
    <div><a href="page2.html">test de lien</a></div>
    </body>
    </html>

  • Can I publish a web page from my Mac with something more sophisticated than I-Web for my business?

    I want to construct a web page for my business. I-Web seems to be less sophisticated.  I wanted to use SiteBuilder by Yahoo, but Mac is not compatable. I have looked and have not found much, and that suggests that there are no tools to publish a web page other than I-Web.

    I don't use any of the free editors but a Google search resulted in several being available. Since they are free you could try them and stick with the one that best works for you.http://webdesign.about.com/od/macintoshhtmleditors/tp/free-macintosh-editors.htm

  • HT4597 can I publish the web pages made with aperture in icloud?

    can I publish the web pages made with aperture in icloud?
    thank you.
    Luis da Cruz

    iCloud does not provide website hosting: you will need to find another hosting service - there are plenty to choose from.

  • How to prevent duplicate web pages from loading

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/930219]]</blockquote>
    how to prevent duplicate web pages from loading

    <s>Hi berternie, can you describe this in more detail?
    Are you saying the identical page loads in two different tabs? When does that happen -- when you click a link? or when you use a bookmark?
    Or do you have multiple tabs open every time you see your home page (i.e., when you start up, open a new window, or click the home icon)?</s>
    I see, you have more info in this thread: https://support.mozilla.org/en-US/questions/930219

  • How do I rotate a page displayed on the internet?

    How do I rotate a page displayed on the internet? I am trying to read an online chapter from a book but it is the wrong way round?

    Are you trying to take a screen shot?  If so, Click the On/Off button while holding in the Home Button.

  • How tall is a web page?

    So we're doing pages 900+ pixels wide these days, but I'm wondering how much vertical content we can use before the user has to start scrolling - what he/she first sees when the page loads. Is there a rule of thumb (or mouse finger) for this?

    It's true that you need to make an educated guess about the people who will be viewing the site.
    For instance, if you know for a (relative) fact that they all use 12 inch monitors and IE6, that gives you an idea of what to shoot for.
    If you have a sense that they all have wraparound monitors (surely someone will invent them) that are 36 inches on the diagonal and the latest, greatest Browsers, that tells you something else.
    You can get general statistics about Monitor usage from w3c http://www.w3schools.com/browsers/browsers_display.asp Allowing for a vertical scrollbar and top of the Monitor screen material (toolbars, etc.), you can kind of guess at the actual Viewport sizes.
    If you want to keep people on your page, and not scrolling to kingdom come (how tall is a web page? how high is the sky?), there are strategies:
    Make the header stable and the container below it scrollable within a container so it looks like it's all on the screen...
    Make the page short
    Make the page liquid, so it doesn't hang off the page on small monitors or cower in the corner of larger monitors
    Use Spry Tabbed Panels, or Spry Accordions, or other Spry content techniques
    You can imitate Browser/Monitor Viewport sizes by doing Window > Cascade and adjusting the size of the floating window manually (drag the right bottom corner). The size of the Viewport will show at the right side of the Tag Selector at the bottom of the Document Window (1038 x 628, for instance).
    Beth

  • When I first startup firefox I automatically get a web page displayed that I cannot exit from. I move the firefox page to another workspace to get rid of it. How do I prevent this webpage from loading ?

    web page automatically loads up each time and the exist bottom is disabled on the screen.

    Maybe your problem is caused by that particular add-on?
    I use the Print/Print Preview add-on and have never had that happen. <br />https://addons.mozilla.org/en-US/firefox/addon/printprint-preview/

  • Bookmarks and web page display question

    I have been used to using Netscape and Internet Explorer where you can have a vertical column of bookmarks running up and down on the left side...and then the window to the right will display the web page...i.e., you don't have to click on a separate bookmarks page, open your link, and then toggle back to the Bookmarks page.
    I like the idea of having ALL of my many bookmarks available to me on the lefthand side while seeing the pages open in the window to the right.
    Is there any way Safari can provide close to that same layout? I know about how to use tabs and I know of the bookmark horizontal bar, but I do miss the vertical on the left bookmarks column showing everything (several hundred) and just clicking and having the web page pop open on the right while keeping all my bookmarks available on the same screen.
    Can Safari do this? Or what might be the closest workaround?
    Thanks,
    John

    Sorry for the confusion, here's a more detailed description of what I'm aiming for.  Also, I don't have any web pages published or a web host yet so I can't post a URL to my page.
    This Adobe forums page acts just like my web page.  On the right side of this Adobe page, there is a gray and white checkered design.  If the bookmarks (or favorites) are closed (I am using Firefox with a bookmark toolbar on the left side), then the checkered design is pretty wide.  If the bookmark toolbar is opened, then part of the checkered pattern is cut off from view, but the left side of the page is still completely in view.
    Coca Cola's website is more of how I want my website to be:   http://www.coca-cola.com/index.jsp
    On both sides of Coca Cola's website, there is a gray-white gradient.  If the bookmarks are closed, then the gradient pattern on both sides are exactly equal in width.  If the bookmarks are opened, then part of the outside portion the the page is cut off on both the left and right sides quite a bit, but the gradient design widths on the left and right are both still equal in width.
    So if the opened bookmarks are going to cut off part of the web page from view, I would prefer to have both parts of the left and right side removed instead of just the right side.  I tried centering the page by following David Powers' thread, but either I didn't do it correctly or it didn't help with this problem.
    I hope this was clearer.

Maybe you are looking for