javaws.vbs

Plain Text icon — Plain Text, 522 bytes

File contents

  on error resume next
  If isIE = "true" Then
    If Not(IsObject(CreateObject("JavaWebStart.isInstalled"))) Then
       javawsInstalled = 0
    Else
       javawsInstalled = 1
    End If
    If Not(IsObject(CreateObject("JavaWebStart.isInstalled.2"))) Then
       javaws12Installed = 0
    Else
       javaws12Installed = 1
    End If
    If Not(IsObject(CreateObject("JavaWebStart.isInstalled.1.4.2.0"))) Then
       javaws142Installed = 0
    Else
       javaws142Installed = 1
    End If  
  End If
Page last modified Feb 06, 2007