![]() |
Introduction to
|
JDK 1.2 Contents |
The Java Runtime Environment including Java Plug-in is a Sun product that is composed of two parts: The Java Runtime Environment and the Java Plug-in.The Java Runtime Environment 1.2 (JRE) is the Java platform on which you can run, test and ship your own applications. It consists of the Java virtual machine, the Java platform core classes, and supporting files. It contains no development tools -- no compiler, debugger, or other tools. The JRE requires additional software -- the Java Plug-in -- to enable it to run applets in a browser.
The Java Plug-in software allows Java applets and JavaBeans components to run in a browser using Sun's Java Runtime Environment, instead of the browser's default Java runtime. The Java Plug-in works with Netscape Navigator and Microsoft Internet Explorer. The plug-in requires special
<OBJECT>
and<EMBED>
tags be embedded in the HTML page. For general information, see the Java Plug-in Overview. For documentation on the Java Plug-in, see Java Plug-in and click on "Documentation". An extensive Java Plug-in FAQ is available.
The Java Runtime Environment including Java Plug-in is available from Sun on both Windows and Solaris:
While the Java Runtime Environment including Java Plug-in is installed with the JDK for Windows, it is a separate product and is redistributable with your application, applet or JavaBean components subject to the terms and conditions of its software license (found in the JRE/Plug-in README and LICENSE files).
- The Windows version of the JDK includes a redistributable version of the Java Runtime Environment including Java Plug-in, which plugs into a browser, upgrading the browser to the Java 1.2 platform. Once you install it, you will see that the "Java Plug-in control panel" has been added to your Windows "Start" menu under "Programs".
- The Solaris version is downloaded separately from the JDK Reference Implementation. For more information, see Sun's Java Plug-in website.
Note that the JDK has its own internal, complete, non-redistributable Java runtime environment in the
jre
subdirectory. This is the runtime environment used by the JDK tools (javac, javadoc, appletviewer, and so forth) and is not to be confused with the redistributable JRE/Plug-in.
As always, the browser's built-in Java runtime will be used when it encounters an<APPLET>
tag. However, once the plug-in is installed, it will automatically load the Java Runtime Environment when it hits a page with special<OBJECT>
and<EMBED>
HTML tags. The browser can then load Java 1.2 applets from this page to make full use of 1.2 features, such as JFC (including Swing) and IDL. For details on how to configure your HTML pages to invoke the JRE, see the next section.
The plug-in requires the<OBJECT>
tag enclose the<EMBED>
tag to work in both Internet Explorer and Netscape Navigator For details on how to configure your HTML pages to invoke the JRE, go to Sun's Java Plug-in website, choose "Documentation", then "Java Plug-in HTML Specification".
The following web page invokes JRE 1.2 in Internet Explorer and Netscape Navigator.(coming)
Please send comments and suggestions to: Java Plug-in Feedback
Copyright © 1998
Sun Microsystems, Inc.
All Rights Reserved.
Last modified: Sat Nov 21 21:32:41 PST
|
![]() Java Software |