开发者

gwt check if jre is installed

开发者 https://www.devze.com 2023-01-01 15:32 出处:网络
I have a simple java applet that is invoked from gwt application. Is there a way to check the GWT code if jre is i开发者_StackOverflow中文版nstalled?The approach to check JRE installation in GWT is no

I have a simple java applet that is invoked from gwt application. Is there a way to check the GWT code if jre is i开发者_StackOverflow中文版nstalled?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消