• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 612
  • Last Modified:

Auto-install java runtime and webstart

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="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0" CLASSID="clsid:5852F5ED-8BF4-11D4-A245-0080C6F74284" HEIGHT="0" WIDTH="0" ID="Isinstalled1">
<PARAM NAME="app" VALUE="http://localhost/xyz.jnlp">
</OBJECT>

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?
0
MarkoBarko
Asked:
MarkoBarko
3 Solutions
 
Jim CakalicSenior Developer/ArchitectCommented:
0
 
aozarovCommented:
I think because this requires ActiveX, so you need to enable ActiveX in your browser:
see http://www.iol.ie/~locka/mozilla/mozilla.htm (for ActiveX plugin)
0
 
objectsCommented:
Approach with NS is to redirect them to a page with instructions on how to download and install JRE.
0
 
MarkoBarkoAuthor Commented:
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?
0
 
objectsCommented:
Here the details for an applet, concept should be the same

http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now