Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Java Web Start ActiveX

Status
Not open for further replies.

toolkit

Programmer
Aug 5, 2001
771
GB
Hi there, was wondering if anyone had experienced similar problems with Java Web Start ActiveX. I have inherited the following client side code to determine for Windows and Netscape if Java Web Start has been installed:
Code:
<script language=&quot;Javascript&quot;> 
  var javawsInstalled = 0; 
  isIE = &quot;false&quot;; 
  if(navigator.mimeTypes && navigator.mimeTypes.length) { 
    x = navigator.mimeTypes['application/x-java-jnlp-file']; 
    if(x) {
      javawsInstalled = 1; 
    }
  } 
  else { 
    isIE = &quot;true&quot;; 
  }  
</script> 

<script language=&quot;VBScript&quot;> 
   on error resume next 
   If isIE = &quot;true&quot; Then 
     If Not(IsObject(CreateObject(&quot;JavaWebStart.IsInstalled&quot;))) Then 
       javawsInstalled = 0 
     Else 
       javawsInstalled = 1 
     End If 
   End If 
</script>

On most occasions this works fine. But for one NT box where the administrator installed JWS, any other user firing up the browser appears not to have JWS installed. This looks like some sort of registry or permission problem. Has anyone else seen this as well?
Thanks for any advice, Neil
 
PS: aplogies if this is not the appropriate forum. If anyone can think of a more suitable forum for me to post this question in, please feel to point this out ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top