I have a simple java applet that is invoked from gwt application. Is there a way to check the GWT code if jre is installed?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The approach to check JRE installation in GWT is no different from the same check using JavaScript/HTML. You should write a JSNI ( http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html ) function, which will execute JavaScript logic to determine JRE availability.
First result from the search is this article, which may however, not cover all possible browsers, but is a good start anyway.
http://www.javatester.org/enabled.html