LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-25-2007, 02:07 AM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
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.

Last edited by crisostomo_enrico; 07-25-2007 at 02:09 AM.
 
Old 07-25-2007, 02:14 AM   #2
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Easier JavaSE for GNU Linux Leads to Wider Open Source Opps LXer Syndicated Linux News 0 06-05-2006 01:03 AM
Installing a '.patch' file tetrahedron SUSE / openSUSE 2 11-06-2005 02:27 PM
doubt regarding boot loader while installing multi distros b0nd Linux - Newbie 2 09-07-2005 12:49 PM
installing a .patch file nuzzy Linux - General 1 11-10-2003 05:30 PM
doubt on installing redhat7.1 coolcruiser Linux - Software 1 12-17-2001 06:20 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration