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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Are Java Runtime installed?

Status
Not open for further replies.

Kudel

Programmer
Dec 3, 2002
36
0
0
NO
Hi

I need to check if my users have Java Runtime 1.4.0 installed.

Can anybody give me a hint or tip to how to do this??

-Kudel
 
This should work for IE:

<object width=&quot;500&quot; height=&quot;400&quot;
classid=&quot;clsid:8AD9C840-044E-11D1-B3E9-00805F499D93&quot;
codebase=&quot;onerror=&quot;alert('no java');&quot;>
<PARAM NAME=&quot;code&quot; VALUE=&quot;demo.applet&quot;>
<PARAM NAME=&quot;archive&quot; VALUE=&quot;demo.jar&quot;>
<PARAM NAME=&quot;type&quot; VALUE=&quot;application/x-java-applet;version=1.4&quot;>
No Java
</object>
 
Thank you for the respond.

I'm hoping to make someting like this

if Javaruntime then
You have Java Runtime 1.4.0
else
You do not have Java Runtime 1.4.0

How can I do this?

-Kudel
 
It only works in Netscape.

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
if(navigator.javaEnabled)
document.write(&quot;Java est actif avec ce navigateur.&quot;);
else
document.write(&quot;Java est inactif avec ce navigateur.&quot;);
</SCRIPT> Gary Haran
==========================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top