Auto-install java runtime and webstart

Posted on 2005-04-07
Last Modified: 2013-11-18
So...i have a webstart application that is executed from a webpage. The desired effect is to have the JRE presence/version checked (and installed if not). Then the webstart app would get launched. The html for this looks like this:

<OBJECT CODEBASE=",4,0,0" CLASSID="clsid:5852F5ED-8BF4-11D4-A245-0080C6F74284" HEIGHT="0" WIDTH="0" ID="Isinstalled1">
<PARAM NAME="app" VALUE="http://localhost/xyz.jnlp">

This works great in IE. However, I move this to Netscape/Mozilla and nothing happens. I am not surprised, however, I could not find the proper syntax to make this work on the other browsers. Most resources online had to do with making this work for applets but not for webstart apps. Maybe it's the same but I didn't get that from the documentation I have read. Any ideas?
Question by:MarkoBarko
    LVL 19

    Accepted Solution

    LVL 15

    Assisted Solution

    I think because this requires ActiveX, so you need to enable ActiveX in your browser:
    see (for ActiveX plugin)
    LVL 92

    Expert Comment

    Approach with NS is to redirect them to a page with instructions on how to download and install JRE.
    LVL 1

    Author Comment

    Hmmm...i tried messing with the EMBED tag on Netscape with no help. I'm not even sure what the syntax would be in this case. Redirecting the user to a page with instructions is definitely the fallback option. However, is what I want so unorthodox that Sun/Netscape never thought it would be useful to implement?
    LVL 92

    Assisted Solution

    Here the details for an applet, concept should be the same

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now