[613] | 1 | README
|
---|
| 2 |
|
---|
| 3 | Java(TM) Platform, Standard Edition
|
---|
| 4 | Runtime Environment
|
---|
| 5 | Version 6
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | The Java(TM) Platform, Standard Edition Runtime Environment (JRE(TM)),
|
---|
| 9 | excluding the JavaFX(TM) runtime, is intended for software developers
|
---|
| 10 | and vendors to redistribute with their applications.
|
---|
| 11 |
|
---|
| 12 | The Java SE Runtime Environment contains the Java virtual machine,
|
---|
| 13 | runtime class libraries, and Java application launcher that are
|
---|
| 14 | necessary to run programs written in the Java programming language.
|
---|
| 15 | It is not a development environment and does not contain development
|
---|
| 16 | tools such as compilers or debuggers. For development tools, see the
|
---|
| 17 | Java SE Development Kit (JDK(TM)). The JRE installation triggers the
|
---|
| 18 | download of the JavaFX runtime. The JavaFX runtime is also available
|
---|
| 19 | separately, and is not part of the JRE. For information on JavaFX, and
|
---|
| 20 | how to make changes, go to: http://java.com/javafx
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | =======================================================================
|
---|
| 24 | Deploying Applications with the Java SE Runtime Environment
|
---|
| 25 | =======================================================================
|
---|
| 26 |
|
---|
| 27 | When you deploy an application written in the Java programming
|
---|
| 28 | language, your software bundle will probably consist of the following
|
---|
| 29 | parts:
|
---|
| 30 |
|
---|
| 31 | Your own class, resource, and data files.
|
---|
| 32 | The Java SE Runtime Environment.
|
---|
| 33 | An installation procedure or program.
|
---|
| 34 |
|
---|
| 35 | You already have the first part, of course. The remainder of this
|
---|
| 36 | document covers the other two parts. See also the Notes for Developers
|
---|
| 37 | page on the Java Software website:
|
---|
| 38 |
|
---|
| 39 | http://java.sun.com/javase/6/webnotes/runtime.html
|
---|
| 40 |
|
---|
| 41 | -----------------------------------------------------------------------
|
---|
| 42 | Java Platform, Standard Edition Runtime Environment (JRE)
|
---|
| 43 | -----------------------------------------------------------------------
|
---|
| 44 |
|
---|
| 45 | To run your application, a user needs the Java SE Runtime Environment,
|
---|
| 46 | which is freely available from Oracle. Or, you can redistribute the
|
---|
| 47 | Java SE Runtime Environment for free with your application, according
|
---|
| 48 | to the terms of the Java SE Platform Runtime Environment's license. The
|
---|
| 49 | JavaFX runtime is only required to run applications written in the
|
---|
| 50 | JavaFX scripting language; it is freely available from Oracle, and must
|
---|
| 51 | not be redistributed with your application.
|
---|
| 52 |
|
---|
| 53 | The final step in the deployment process occurs when the software is
|
---|
| 54 | installed on an individual user's system. Installation consists of copying
|
---|
| 55 | software onto the user's system, then configuring the user's system
|
---|
| 56 | to support that software. You should ensure that your installation
|
---|
| 57 | procedure does not overwrite existing JRE installations, as they may
|
---|
| 58 | be required by other applications.
|
---|
| 59 |
|
---|
| 60 |
|
---|
| 61 | =======================================================================
|
---|
| 62 | Redistribution of the Java SE Runtime Environment (JRE)
|
---|
| 63 | =======================================================================
|
---|
| 64 |
|
---|
| 65 | --------------------------------------------------------
|
---|
| 66 | NOTE - The license for this software does not allow the
|
---|
| 67 | redistribution of beta and other pre-release versions.
|
---|
| 68 | --------------------------------------------------------
|
---|
| 69 |
|
---|
| 70 | Subject to the terms and conditions of the Software License
|
---|
| 71 | Agreement and the obligations, restrictions, and exceptions set
|
---|
| 72 | forth below, You may reproduce and distribute the Software (and
|
---|
| 73 | also portions of Software identified below as Redistributable),
|
---|
| 74 | provided that:
|
---|
| 75 |
|
---|
| 76 | (a) you distribute the Software complete and unmodified and only
|
---|
| 77 | bundled as part of your applets and applications ("Programs"),
|
---|
| 78 |
|
---|
| 79 | (b) your Programs add significant and primary functionality to the
|
---|
| 80 | Software,
|
---|
| 81 |
|
---|
| 82 | (c) your Programs are only intended to run on Java-enabled general
|
---|
| 83 | purpose desktop computers and servers,
|
---|
| 84 |
|
---|
| 85 | (d) you distribute Software for the sole purpose of running your
|
---|
| 86 | Programs,
|
---|
| 87 |
|
---|
| 88 | (e) you do not distribute additional software intended to replace
|
---|
| 89 | any component(s) of the Software,
|
---|
| 90 |
|
---|
| 91 | (f) you do not remove or alter any proprietary legends or notices
|
---|
| 92 | contained in or on the Software,
|
---|
| 93 |
|
---|
| 94 | (g) you only distribute the Software subject to a license agreement
|
---|
| 95 | that protects Oracle's interests consistent with the terms
|
---|
| 96 | contained in this Agreement, and
|
---|
| 97 |
|
---|
| 98 | (h) you agree to defend and indemnify Oracle and its licensors from
|
---|
| 99 | and against any damages, costs, liabilities, settlement amounts
|
---|
| 100 | and/or expenses (including attorneys' fees) incurred in
|
---|
| 101 | connection with any claim, lawsuit or action by any third party
|
---|
| 102 | that arises or results from the use or distribution of any and
|
---|
| 103 | all Programs and/or Software.
|
---|
| 104 |
|
---|
| 105 | The term "vendors" used here refers to licensees, developers, and
|
---|
| 106 | independent software vendors (ISVs) who license and distribute the
|
---|
| 107 | Java SE Runtime Environment with their programs.
|
---|
| 108 |
|
---|
| 109 | Vendors must follow the terms of the Java SE Runtime Environment Binary
|
---|
| 110 | Code License agreement.
|
---|
| 111 |
|
---|
| 112 | -----------------------------------------------------------------------
|
---|
| 113 | Required vs. Optional Files
|
---|
| 114 | -----------------------------------------------------------------------
|
---|
| 115 |
|
---|
| 116 | The files that make up the Java SE Runtime Environment are divided into
|
---|
| 117 | two categories: required and optional. Optional files may be excluded
|
---|
| 118 | from redistributions of the Java SE Runtime Environment at the
|
---|
| 119 | vendor's discretion.
|
---|
| 120 |
|
---|
| 121 | The following section contains a list of the files and directories that
|
---|
| 122 | may optionally be omitted from redistributions with the Java SE Runtime
|
---|
| 123 | Environment. All files not in these lists of optional files must be
|
---|
| 124 | included in redistributions of the runtime environment.
|
---|
| 125 |
|
---|
| 126 | -----------------------------------------------------------------------
|
---|
| 127 | Optional Files and Directories
|
---|
| 128 | -----------------------------------------------------------------------
|
---|
| 129 |
|
---|
| 130 | The following files may be optionally excluded from redistributions.
|
---|
| 131 | These files are located in the jre1.6.0_<version> directory, where
|
---|
| 132 | <version> is the update version number. Solaris and Linux filenames
|
---|
| 133 | and separators are shown. Windows executables have the ".exe" suffix.
|
---|
| 134 | Corresponding files with _g in the name can also be excluded.
|
---|
| 135 | The corresponding man pages should be excluded for any excluded
|
---|
| 136 | executables (with paths listed below beginning with bin/ ,
|
---|
| 137 | for the Solaris(TM) Operating System and Linux).
|
---|
| 138 |
|
---|
| 139 | lib/charsets.jar
|
---|
| 140 | Character conversion classes
|
---|
| 141 | lib/ext/
|
---|
| 142 | sunjce_provider.jar - the SunJCE provider for Java
|
---|
| 143 | Cryptography APIs
|
---|
| 144 | localedata.jar - contains many of the resources
|
---|
| 145 | needed for non US English locales
|
---|
| 146 | ldapsec.jar - contains security features supported
|
---|
| 147 | by the LDAP service provider
|
---|
| 148 | dnsns.jar - for the InetAddress wrapper of JNDI DNS provider
|
---|
| 149 | bin/rmid
|
---|
| 150 | Java RMI Activation System Daemon
|
---|
| 151 | bin/rmiregistry
|
---|
| 152 | Java Remote Object Registry
|
---|
| 153 | bin/tnameserv
|
---|
| 154 | Java IDL Name Server
|
---|
| 155 | bin/keytool
|
---|
| 156 | Key and Certificate Management Tool
|
---|
| 157 | bin/kinit
|
---|
| 158 | Used to obtain and cache Kerberos ticket-granting tickets
|
---|
| 159 | bin/klist
|
---|
| 160 | Kerberos display entries in credentials cache and keytab
|
---|
| 161 | bin/ktab
|
---|
| 162 | Kerberos key table manager
|
---|
| 163 | bin/policytool
|
---|
| 164 | Policy File Creation and Management Tool
|
---|
| 165 | bin/orbd
|
---|
| 166 | Object Request Broker Daemon
|
---|
| 167 | bin/servertool
|
---|
| 168 | Java IDL Server Tool
|
---|
| 169 | bin/javaws, lib/javaws/ and lib/javaws.jar
|
---|
| 170 | Java Web Start
|
---|
| 171 |
|
---|
| 172 | When redistributing the JRE on Microsoft Windows as a private
|
---|
| 173 | application runtime (not accessible by other applications)
|
---|
| 174 | with a custom launcher, the following files are also
|
---|
| 175 | optional. These are libraries and executables that are used
|
---|
| 176 | for Java support in Internet Explorer and Mozilla family browsers;
|
---|
| 177 | these files are not needed in a private JRE redistribution.
|
---|
| 178 |
|
---|
| 179 | bin\java.exe
|
---|
| 180 | bin\javaw.exe
|
---|
| 181 | bin\javaws.exe
|
---|
| 182 | bin\javacpl.exe
|
---|
| 183 | bin\jucheck.exe
|
---|
| 184 | bin\jusched.exe
|
---|
| 185 |
|
---|
| 186 | bin\wsdetect.dll
|
---|
| 187 | bin\NPJPI*.dll (The filename changes in every release)
|
---|
| 188 | bin\NPJava11.dll
|
---|
| 189 | bin\NPJava12.dll
|
---|
| 190 | bin\NPJava13.dll
|
---|
| 191 | bin\NPJava14.dll
|
---|
| 192 | bin\NPJava32.dll
|
---|
| 193 | bin\NPOJI610.dll
|
---|
| 194 | bin\RegUtils.dll
|
---|
| 195 | bin\axbridge.dll
|
---|
| 196 | bin\deploy.dll
|
---|
| 197 | bin\jpicom.dll
|
---|
| 198 | bin\javacpl.cpl
|
---|
| 199 | bin\jpiexp.dll
|
---|
| 200 | bin\jpinscp.dll
|
---|
| 201 | bin\jpioji.dll
|
---|
| 202 | bin\jpishare.dll
|
---|
| 203 | lib\deploy.jar
|
---|
| 204 | lib\plugin.jar
|
---|
| 205 | lib\javaws.jar
|
---|
| 206 | lib\javaws\messages.properties
|
---|
| 207 | lib\javaws\messages_de.properties
|
---|
| 208 | lib\javaws\messages_es.properties
|
---|
| 209 | lib\javaws\messages_fr.properties
|
---|
| 210 | lib\javaws\messages_it.properties
|
---|
| 211 | lib\javaws\messages_ja.properties
|
---|
| 212 | lib\javaws\messages_ko.properties
|
---|
| 213 | lib\javaws\messages_sv.properties
|
---|
| 214 | lib\javaws\messages_zh_CN.properties
|
---|
| 215 | lib\javaws\messages_zh_HK.properties
|
---|
| 216 | lib\javaws\messages_zh_TW.properties
|
---|
| 217 | lib\javaws\miniSplash.jpg
|
---|
| 218 |
|
---|
| 219 |
|
---|
| 220 | -----------------------------------------------------------------------
|
---|
| 221 | Redistributable JDK(TM) Files
|
---|
| 222 | -----------------------------------------------------------------------
|
---|
| 223 |
|
---|
| 224 | The limited set of files from the Java SE Development Kit (JDK)
|
---|
| 225 | listed below may be included in vendor redistributions of the Java SE
|
---|
| 226 | Runtime Environment. All paths are relative to the top-level
|
---|
| 227 | directory of the JDK. The corresponding man pages should be included for
|
---|
| 228 | any included executables (with paths listed below beginning with bin/ ,
|
---|
| 229 | for the Solaris(TM) Operating System and Linux).
|
---|
| 230 |
|
---|
| 231 | jre/lib/cmm/PYCC.pf
|
---|
| 232 | Color profile. This file is required only if one wishes to
|
---|
| 233 | convert between the PYCC color space and another color space.
|
---|
| 234 |
|
---|
| 235 | All .ttf font files in the jre/lib/fonts directory.
|
---|
| 236 | Note that the LucidaSansRegular.ttf font is already contained
|
---|
| 237 | in the Java SE Runtime Environment, so there is no need to
|
---|
| 238 | bring that file over from the JDK.
|
---|
| 239 |
|
---|
| 240 | jre/lib/audio/soundbank.gm
|
---|
| 241 | This MIDI soundbank is present in the JDK, but it has
|
---|
| 242 | been removed from the Java SE Runtime Environment in order to
|
---|
| 243 | reduce the size of the Runtime Environment's download bundle.
|
---|
| 244 | However, a soundbank file is necessary for MIDI playback, and
|
---|
| 245 | therefore the JDK's soundbank.gm file may be included in
|
---|
| 246 | redistributions of the Runtime Environment at the vendor's
|
---|
| 247 | discretion. Several versions of enhanced MIDI soundbanks are
|
---|
| 248 | available from the Java Sound web site:
|
---|
| 249 | http://java.sun.com/products/java-media/sound/
|
---|
| 250 | These alternative soundbanks may be included in redistributions
|
---|
| 251 | of the Java SE Runtime Environment.
|
---|
| 252 |
|
---|
| 253 | The javac bytecode compiler, consisting of the following files:
|
---|
| 254 | bin/javac [Solaris(TM) Operating System
|
---|
| 255 | and Linux]
|
---|
| 256 | bin/sparcv9/javac [Solaris Operating System
|
---|
| 257 | (SPARC(R) Platform Edition)]
|
---|
| 258 | bin/amd64/javac [Solaris Operating System (AMD)]
|
---|
| 259 | bin/javac.exe [Microsoft Windows]
|
---|
| 260 | lib/tools.jar [All platforms]
|
---|
| 261 |
|
---|
| 262 | The Annotation Processing Tool, consisting of the following files:
|
---|
| 263 | lib/tools.jar [All platforms]
|
---|
| 264 | bin/apt [Solaris(TM) Operating System
|
---|
| 265 | and Linux]
|
---|
| 266 | bin/sparcv9/apt [Solaris Operating System
|
---|
| 267 | (SPARC(R) Platform Edition)]
|
---|
| 268 | bin/amd64/apt [Solaris Operating System (AMD)]
|
---|
| 269 | bin/apt.exe [Microsoft Windows]
|
---|
| 270 |
|
---|
| 271 | lib/jconsole.jar
|
---|
| 272 | The Jconsole application. NOTE: The Jconsole application requires
|
---|
| 273 | the dynamic attach mechanism.
|
---|
| 274 |
|
---|
| 275 | The dynamic attach mechanism consisting of the following files:
|
---|
| 276 | lib/tools.jar [All platforms]
|
---|
| 277 | jre/lib/sparc/libattach.so
|
---|
| 278 | [Solaris(TM) Operating System (SPARC(R) Platform Edition) and Linux]
|
---|
| 279 | jre/lib/sparcv9/libattach.so
|
---|
| 280 | [Solaris(TM) Operating System (SPARC(R) Platform Edition) and Linux]
|
---|
| 281 | jre/lib/i386/libattach.so
|
---|
| 282 | [Solaris(TM) Operating System (x86) and Linux]
|
---|
| 283 | jre/lib/amd64/libattach.so
|
---|
| 284 | [Solaris(TM) Operating System (AMD) and Linux]
|
---|
| 285 | jre\bin\attach.dll [Microsoft Windows]
|
---|
| 286 |
|
---|
| 287 | The Java Platform Debugger Architecture implementation consisting of the
|
---|
| 288 | files shown in the dynamic attach section above, and the following files:
|
---|
| 289 | lib/tools.jar [All platforms]
|
---|
| 290 | lib/sa-jdi.jar [All platforms]
|
---|
| 291 | jre/lib/sparc/libsaproc.so
|
---|
| 292 | [Solaris(TM) Operating System (SPARC(R) Platform Edition) and Linux]
|
---|
| 293 | jre/lib/sparcv9/libsaproc.so
|
---|
| 294 | [Solaris(TM) Operating System (SPARC(R) Platform Edition) and Linux]
|
---|
| 295 | jre/lib/i386/libsaproc.so
|
---|
| 296 | [Solaris(TM) Operating System (x86) and Linux]
|
---|
| 297 | jre/lib/amd64/libsaproc.so
|
---|
| 298 | [Solaris(TM) Operating System (AMD) and Linux]
|
---|
| 299 |
|
---|
| 300 | jre\bin\server\
|
---|
| 301 | On Microsoft Windows platforms, the JDK includes both
|
---|
| 302 | the Java HotSpot(TM) Server VM and Java HotSpot Client VM.
|
---|
| 303 | However, the Java SE Runtime Environment for Microsoft Windows
|
---|
| 304 | platforms includes only the Java HotSpot Client VM. Those wishing
|
---|
| 305 | to use the Java HotSpot Server VM with the Java SE Runtime
|
---|
| 306 | Environment may copy the JDK's jre\bin\server folder to a
|
---|
| 307 | bin\server directory in the Java SE Runtime Environment. Software
|
---|
| 308 | vendors may redistribute the Java HotSpot Server VM with their
|
---|
| 309 | redistributions of the Java SE Runtime Environment.
|
---|
| 310 |
|
---|
| 311 |
|
---|
| 312 | -----------------------------------------------------------------------
|
---|
| 313 | Unlimited Strength Java Cryptography Extension
|
---|
| 314 | -----------------------------------------------------------------------
|
---|
| 315 |
|
---|
| 316 | Due to import control restrictions for some countries, the Java
|
---|
| 317 | Cryptography Extension (JCE) policy files shipped with the Java SE
|
---|
| 318 | Development Kit and the Java SE Runtime Environment allow strong but
|
---|
| 319 | limited cryptography to be used. These files are located at
|
---|
| 320 |
|
---|
| 321 | <java-home>/lib/security/local_policy.jar
|
---|
| 322 | <java-home>/lib/security/US_export_policy.jar
|
---|
| 323 |
|
---|
| 324 | where <java-home> is the jre directory of the JDK or the
|
---|
| 325 | top-level directory of the Java SE Runtime Environment.
|
---|
| 326 |
|
---|
| 327 | An unlimited strength version of these files indicating no restrictions
|
---|
| 328 | on cryptographic strengths is available on the JDK web site for
|
---|
| 329 | those living in eligible countries. Those living in eligible countries
|
---|
| 330 | may download the unlimited strength version and replace the strong
|
---|
| 331 | cryptography jar files with the unlimited strength files.
|
---|
| 332 |
|
---|
| 333 | -----------------------------------------------------------------------
|
---|
| 334 | The cacerts Certificates File
|
---|
| 335 | -----------------------------------------------------------------------
|
---|
| 336 |
|
---|
| 337 | Root CA certificates may be added to or removed from the Java SE
|
---|
| 338 | certificate file located at
|
---|
| 339 |
|
---|
| 340 | <java-home>/lib/security/cacerts
|
---|
| 341 |
|
---|
| 342 | For more information, see The cacerts Certificates File section
|
---|
| 343 | in the keytool documentation at:
|
---|
| 344 |
|
---|
| 345 | http://java.sun.com/javase/6/docs/tooldocs/solaris/keytool.html#cacerts
|
---|
| 346 |
|
---|
| 347 | =======================================================================
|
---|
| 348 | Endorsed Standards Override Mechanism
|
---|
| 349 | =======================================================================
|
---|
| 350 |
|
---|
| 351 | From time to time it is necessary to update the Java platform in order
|
---|
| 352 | to incorporate newer versions of standards that are created outside of
|
---|
| 353 | the Java Community Process(SM) (JCP(SM) http://www.jcp.org/) (Endorsed
|
---|
| 354 | Standards), or in order to update the version of a technology included
|
---|
| 355 | in the platform to correspond to a later standalone version of that
|
---|
| 356 | technology (Standalone Technologies).
|
---|
| 357 |
|
---|
| 358 | The Endorsed Standards Override Mechanism provides a means whereby
|
---|
| 359 | later versions of classes and interfaces that implement Endorsed
|
---|
| 360 | Standards or Standalone Technologies may be incorporated into the Java
|
---|
| 361 | Platform.
|
---|
| 362 |
|
---|
| 363 | For more information on the Endorsed Standards Override Mechanism,
|
---|
| 364 | including the list of platform packages that it may be used to
|
---|
| 365 | override, see
|
---|
| 366 |
|
---|
| 367 | http://java.sun.com/javase/6/docs/technotes/guides/standards/
|
---|
| 368 |
|
---|
| 369 | -----------------------------------------------------------------------
|
---|
| 370 | The Java(TM) Runtime Environment (JRE) and the JavaFX(TM) runtime are
|
---|
| 371 | products of Oracle.
|
---|
| 372 |
|
---|
| 373 | Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
---|
| 374 |
|
---|