站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Internet/Intranet Deployment of the Sun JRE - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Internet/Intranet Deployment of the Sun JRE


Internet deployment

If you would like to have your internet customers download Sun's Java Runtime Enivronment (JRE) to run your applets inside Internet Explorer, you should consider hosting the Java(tm) Technology Logos at your web site. More information is available about the logos at:

http://logos.sun.com/logosite.jsp?Category=third#java

When users click on any one of these logos, they will be prompted with a security dialog box asking if they want to install and run Java Plug-in, signed and distributed by Sun Microsystems. If they agree to install, the browser will download and launch the installer. The user will have to go through a few installer dialogs to successfully install Java Plug-in on their system. After a successfull installation, the browser will display a confirmation message, and the system tray will contain a Java icon, indicating the system is running the Sun's JRE.

Intranet deployment

You can distribute Sun's JRE to intranet users by hosting the .msi file on an internal web site and asking users to launch the installer through msiexec. The other option is to install the JRE through Active Directory. If you are using Active Directory, you may have to customize the .msi file, which is known as creating a transform.

You can obtain the .msi file for the JRE installer by installing the JRE offline Windows installer. After installation, the .msi file, jre1.6.0.msi, will be available in the directory AppDataFolder\jre1.6.0, whereAppDataFolder is the user's "Application Data" folder (typically something like C:\Documents and Settings\username\Application Data), and CLSID is a long string like 7148F0A6-6813-11D6-A77b-00B0D0142010, depending on the release.