to chongkai()
谢谢你的回答,不过我还有几点疑问。希望你能够回答一下,可以另给分的,呵呵。
1)java web start本身有没有版本之说呢?如果有的话,版本和发布程序有没有关系?
2)我现在做实验,安装了jdk1.3,jdk1.4,jdk1.5,其中jdk1.4,jdk1.5里面有javaws.exe,启动起来界面不一样,这个是不是就是java web start的两个版本?可以指定用那个来运行程序吗?
如果可能的话,加我的msn:webkkk@263.net。
The j2se element specifies what Java 2 SE Runtime Environment (JRE) versions an application is supported on, as well as standard parameters to the Java Virtual Machine. If several JREs can are specified, this indicates a prioritized list of the supported JREs, with the most preferred version first. For example:
The version attribute refers, by default, to a platform (specification) version of the Java 2 platform. Currently defined platform version are 1.2, 1.3, and 1.4. (A platform version may optionally contain a micro version number; e.g., 1.4.2.)
Exact product versions (implementation versions) may also be specified—e.g., 1.3.1_01 or 1.4.2-beta by Sun Microsystems, Inc.—by including the href attribute. E.g.,
If a platform version is specified (i.e., no href attribute is provided), Java Web Start will not consider an installed non-FCS (i.e., milestone) JRE as a match. E.g., a request of the form
<j2se version="1.4+">
would not consider an installed 1.4.1-ea or 1.4.2-beta JRE as a match for the request. Starting with 1.3.0, a JRE from Sun Microsystems, Inc., is by convention a non-FCS (milestone) JRE if there is a dash (-) in the version string.