Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 602
  • 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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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