|
Java Plug-in software lets you direct applets or JavaBeans components on intranet web pages to run using the Java Runtime Environment (JRE) instead of the web browser's default virtual machine. The Java Plug-In works with Netscape Communicator and Microsoft Internet Explorer. Free downloads of all the software you need to install and use Java Plug-In are available from the download page.
Get Downloads To install and use Java Plug-In on Solaris 2.6 or Solaris 7, you need the following downloads. Put the downloads in a directory anywhere you want.
These instructions were tested on a Sun Microsystems Ultra 2 running Solaris 2.6 with Netscape Communicator 4.5.1. Extract Downloaded Files Go to the directory where you downloaded the files and extract each one.
Install Java Plug-In The Java Plug-In download includes a user guide that you can view in your browser from the following directory: plugin-12-webstart-sparc/Java_Plug-in_1.2.2/ common/Docs/en/Users_Guide_Java_Plug-in.html
The user guide explains how to install Java Plug-In. There are several
easy ways to do it, and the command sequence below is one quick way
that installs Java Plug-In in the default su <root password> cd ~/plugin-12-webstart-sparc pkgadd -d ./Java_Plug-in_1.2.2/sparc/Product Install Java Plug-In Patches Before you can run Java Plug-In, you have to install the patches. You install the patches one at a time as root. The following command sequence goes to the patch directory, lists the files, and issues the command to install the first patch:
You will see this output when the patch is successfully installed:
Continue installing the patches one-by-one until all patches have successfully installed. The user's guide provides a list of required and suggested patches and links to where you can download additional suggested patches if you want to install them. Install Netscape Communicator
The extracted Netscape Communicator 4.5.1 files provide a user's guide
in the
When you extracted the cd ~/NETSCAPE/Netscape_Communicator_4.51/sparc/Product su <password> pkgadd -d . Check the Installation There are two ways to check your Java Plug-In, patch, and Netscape Communicator installation.
The control panel lets you change the default settings used by Java Plug-In at startup. All applets running inside Java Plug-In use these settings. cd /opt/NSCPcom/j2pi ControlPanel & 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. Types of Policy Files 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 Installing the 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
After the conversion completes, load the [TOP] | |||||||||
Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.
|
| ||||||||||||