|
On Win32 platforms, Java Plug-In software is bundled with the Java 2 Runtime Environment. Java Plug-In lets web browsers use the Java 2 Runtime Environment to run 1.2-based applets and JavaBeans components instead of the web browser's default virtual machine. The Java Plug-In works with Netscape Communicator and Microsoft Internet Explorer.
Get Downloads To install and use the Java Runtime Environment with Java Plug-In, you need the following downloads. Put the downloads in a temporary directory.
Install JRE with Java Plug-In An optionally installable version of the Java 2 Runtime Environment with Java Plug-In is included with the Java 2 SDK download. You can also download and install Java 2 Runtime Environment with Java Plug-In separately.
Either way, install the Java 2 Runtime Environment with
Java Plug-In by double-clicking its icon and following the
installation instructions.
When the installation completes, you will see the Java Plug-In
control panel on your Windows Install the HTML Converter Your browser will not automatically use the Java Plug-In when you load an HTML file with an applet. You have to download and run the Java Plug-In HTML Converter on the HTML page that invokes the applet to direct the applet ro run using the plug-in instead of the browser's default runtime. Unzip the Java Plug-In HTML Converter download: unzip htmlconv12.zip
Add the Security Policy File The auction application uses an applet running in a browser for administrative operations. In the Java 2 platform, applets are restricted to a sandbox-like environment and need permission to access system resources outside their restricted environment. Applets are restricted to read operations within their local directory. All other access operations require permission.
You need a policy file to grant access permissions to the Administration applet. If the applet runs on a disk other than the disk where the browser is running, the applet will also need to be signed. See Signed Applets for information on signing and deploying applets.
There are three kinds of policy files:
system, user, and program.
The system policy file is located in
The user policy file is located in the user's home directory. The user policy file provides a way to give certain users additional permissions over those granted to everyone on the system. The permissions in the system file are combined with the permissions in the user file.
A program policy file can be located anywhere. It is
specifically named when an application is invoked
with the Install the Security Policy File
Place the security policy file in your home directory and name
it If an applet tries to perform an access operation without the right permission, it quietly quits without raising either an applet or a browser error. Changing the Name or Location
You can change the name and/or location of the default system or
user policy file. Edit the
policy.url.1=file:${java.home}\lib\security\java.policy
policy.url.2=file:${user.home}\java.policy
policy.url.3=file:\<mypolicyfile path and name>
Run the Administration Applet
Copy the Java Archive (JAR) file with the Administration
applet and policy file to its final location. In this
example, that location is the cp admin.jar \home\zelda\public_html jar xf applet.jar
The extraction places the policy file under
In the
Start the HTML Converter. java HTMLConverter
In the HTML Converter graphical user interface, select How Does It Work?
On Windows machines, the Java Plug-In finds the Java Runtime
Environment (JRE) by running the OLE custom control file
If you find that the wrong JRE is being loaded, use
After the conversion completes, load the [TOP] | ||||||||
|
| ||||||||||||