What Java versions are commonly installed on browsers, is it safe to assume 1.4?

萝らか妹 提交于 2019-11-29 07:29:57

This chart might help.

From 1,471,010 browsers across 47 sites in the past 30 days...

  • 6% had 1.4,
  • 16% had 1.5
  • 50% had 1.6

http://weblogs.java.net/blog/editors/archives/2009/03/bedbugs_and_bal.html is an article that talks about the chart.

You can modify Google analytics code to detect Java version, see this script.

Regarding Java versions prior to 1.4 there is little available data, I ran my own test in mid February, sampling almost 20,000 visitors who had Java:

Java    Number  
1.6     15516   79.5%
1.5      2161   11.1%
1.4       685    3.5%
1.3        36    0.2%
1.2         0    0.0%
1.1      1115    5.7%
Total   19513  100.0%

Following from this data I finally upped the requirements from 1.1 to 1.4, allowing Swing only a decade after it was released!

You could consider java web start. This allows you to use any recent version you wish. It even allow you to use a version which is older than the default version for a browser. e.g. if you have a program which only works with Java 5 but Java 6 is installed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!