LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   A doubt installing a patch for JavaSE (https://www.linuxquestions.org/questions/solaris-opensolaris-20/a-doubt-installing-a-patch-for-javase-572085/)

crisostomo_enrico 07-25-2007 02:07 AM

A doubt installing a patch for JavaSE
 
Hi.

In latest patch report for Solaris 10_x86 I saw two patches for JavaSE (125138-02 and 125139-02). The README file for 125138-2 says:
Code:

Status: RELEASED
Patch Id: 125138-02
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************
Keywords: jre java update j2se javase
Summary: JavaSE 6_x86: update 2 patch (equivalent to JDK 6u2)
Date:  Jul/05/2007
Installation Requirements:
NA
Solaris Release: 8_x86 9_x86 10_x86
Sun OS Release: 5.8_x86 5.9_x86 5.10_x86
Unbundled Product: JavaSE
Unbundled Release: 6
Xref: This patch available for sparc as patch 125136
Topic:
JavaSE 6_x86: update 2 patch (6u2)
Relevant Architecture: i386

These lines
Code:

Installation Requirements:
NA
Solaris Release: 8_x86 9_x86 10_x86
Sun OS Release: 5.8_x86 5.9_x86 5.10_x86

and the fact that the patches come from a Solaris 10 patch report made me think that I could install them directly onto my system but patchadd says me that corresponding packages are not installed. I do have JavaSE 5.0_x86, so probably patchadd complains about JavaSE 6.0_x86 but that's just what I want to do: upgrade JavaSE!

So, what should I do? Download JavaSE 6.0 packages from java.sun.com and then patch the system? I just went to java.sun.com and download page for solaris x86 shows two files:
Code:

Solaris x86 self-extracting file (build 05) jdk-6u2-solaris-amd64.sh
Solaris x64 packages - tar.Z (build 05) jdk-6u2-solaris-i586.tar.Z

Are they equivalent for a solaris system?

Thanks,
Enrico.

crisostomo_enrico 07-25-2007 02:14 AM

Sorry for my hurry: the second question I made found its answer into the installation instructions file! I cite:

Install formats - The JDK is available in two installation formats.

* Solaris Packages - A .tar.Z file containing Solaris SUNW* packages to be installed with the pkgadd utility. If you are using this bundle, see Installation of Solaris Packages below.

* Self-extracting Binary File - This file can be used to install the JDK in a location chosen by the user. This file can be installed by anyone (not only root users), and it can be installed in any location. It will not displace the system version of the Java platform suppled by the Solaris Operating System (unless you intentially install it in the same location as the system's Java platform, which requires you to be root user).

Bye,
Enrico.


All times are GMT -5. The time now is 03:06 AM.