Current location: Hot Scripts Forums » Programming Languages » Everything Java » Detecting Java Plug-in


Detecting Java Plug-in

Reply
  #1 (permalink)  
Old 06-10-03, 01:15 PM
ZirconChief ZirconChief is offline
New Member
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Detecting Java Plug-in

Hi! Our application uses a couple of Java applets which on IE require the use of the Sun Java JRE plug-in. We're looking for a graceful way to detect whether or not it has been installed and to guide the user through it's installation if it is not. We're considering BrowserHawk, but since all we need to know about is this one plug-in - it's overkill for our situation. Anybody out there know of another way of detecting this plugin?

Thanks!

Radi
http://www.proactivenet.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-10-03, 02:04 PM
Shane Shane is offline
Coding Addict
 
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
I tested this and it works with IE and Netscape.

Code:
<script language="Javascript">

if(navigator.javaEnabled())
{ alert("Java is enabled"); }
else { alert("nope"); }

</script>
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-10-03, 05:37 PM
Ryan's Avatar
Ryan Ryan is offline
Coding Addict
 
Join Date: May 2003
Location: Virginia
Posts: 391
Thanks: 0
Thanked 8 Times in 3 Posts
Moved to appropriate forum.
__________________
Ryan Huff
iNET Interactive, LLC

http://www.inetinteractive.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
We need more java talk rooshine Everything Java 4 05-08-04 11:44 PM
The World Is Breathing Java! fouad Everything Java 16 08-19-03 06:53 PM
Problem with java links Kingfishsj JavaScript 0 08-01-03 09:09 AM
PHP with JAVA funkydunk PHP 0 07-21-03 10:40 AM
Detecting Java Plug-in ZirconChief Everything Java 0 06-10-03 01:18 PM


All times are GMT -5. The time now is 06:58 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.