This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "applet not running, how to detect JRE" Watch "applet not running, how to detect JRE" New topic

applet not running, how to detect JRE

Akash Abrol

Joined: Jan 30, 2006
Posts: 9
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
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
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.
I agree. Here's the link:
subject: applet not running, how to detect JRE
It's not a secret anymore!