Link to home
Start Free TrialLog in
Avatar of Aphsal
Aphsal

asked on

Detecting JRE version in IE

Hi Experts
   I made a swing applet and I want to ckect the proper java plugin to installed on client machine. How can I detect the JRE version on client so that I can redirect him to download the proper plugin to view the applet?



Aphsal
Avatar of Mick Barry
Mick Barry
Flag of Australia image

String version = System.getProperty("java.version");
ASKER CERTIFIED SOLUTION
Avatar of kokchoon78
kokchoon78

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can actually handle the redirection using the object tag. This allows you to specify both the required plugin version, and the location to download it from if it is not installed.
Use the htmlconverter to convert your applet tag to an object tag.
Avatar of Aphsal
Aphsal

ASKER

thanks friends I got the solution :-)
and that was?