I was wondering if there are any stats online on the prevalence of the
different JVMs that regular internet users have installed on their
computers. It is my understanding that Java 1.1 is no longer the most
widely available. Thanks.
Depends on where you look... in corporate environments, they have
those expensive but old servers from Sun, IBM or other vendors. If the
official word is that newer JVMs are not officially supported,
companies will play safe and not upgrade.
But I assume you're talking about normal users... which I have no
data. I *guess* people just use whatever they've already installed,
until they are required to upgrade or they can't use a certain piece
of Java software.
I recommend studying Java Web Start:
http://java.sun.com/products/javawebstart/
Quoting the Java Web Start FAQ:
(
http://java.sun.com/javase/6/docs/technotes/guides/javaws/
developersguide/faq.html#101)
<quote>
Why should I use Java Web Start?
It's an easy, robust, and secure way to deploy applications directly
from the web. Developers can make applications readily available via
the web. In addition, Java Web Start provides Java runtime environment
(JRE) management capabilities, it's easy to set up, it's browser-
independent, and it's an efficient way to deploy web application
solutions.
Users can easily access applications much as they would a web page--
without a separate installation step. From the desktop, users can
access and use Java applications, using a richer and more responsive
user interface than is available on a web page. And, once a Java Web
Start based application is installed, users simply click to run the
application whenever needed.
Users do not need to manually update applications because each time
they launch an application, it is transparently updated from the web--
so they always use the most recent version available.
<snip>
My application requires a specific version of the JRE. How do I
specify this my JNLP file?
The tag <j2se version="versionNum"> specifies a platform version,
where versionNum is 1.2, 1.3, 1.4, or 1.5.
You can request a specific product version by including a vendor URL
in the href attribute. For Sun's JREs, the URL is
http://java.sun.com/products/autodl/j2se
For example, the following J2SE tag will request any Sun 1.3.1
implementation:
<j2se version="1.3.1*" href="
http://java.sun.com/products/autodl/j2se"/
You can see all the versions of the installed JREs in the Java tab of
the Java Control Panel.
</quote>