aspose file tools*
The moose likes Applets and the fly likes applet not running, how to detect JRE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "applet not running, how to detect JRE" Watch "applet not running, how to detect JRE" New topic
Author

applet not running, how to detect JRE

Akash Abrol
Greenhorn

Joined: Jan 30, 2006
Posts: 9
hi
i have created an applet and it is not running on client machines where JRE is not installed...Is there any way to detect whether JRE is installed on a client machine or not....???
or is it possible to run applets on clients where JRE is not installed..??

thanks and regards
Akash.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42601
    
  65
You do need a JRE to run applets. If there is none, you can specify alternate HTML to be displayed instead. I suppose that could include JavaScript to redirect to a page for users that don't have an JRE.

Using the OBJECT and EMBED tags it's also possible to specify that a user should be asked whether he wants to download a JRE if he doesn't have one. The Plugin Developers Guide has details on how to do that.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applet not running, how to detect JRE