I put the tarball under /export/jdk7u11/ and did the same thing to install them 
all.
No problem, it works perfectly fine. My /bin is still a link intact this time. 
My /opt has nothing after installation of jdk.

Okay, Oracle better document that 'NEVER put jdk tar ball under /opt/'  But to 
me this is a bug in the jdk installation script.

1. Download the bundles or bundle, if you are installing only the 32-bit 
version of Oracle Solaris. Before the file can be downloaded, you must accept 
the license agreement. The archive binaries can be installed by anyone in any 
location that you can write to.

The .tar.gz archive file (also called a tarball) is a file that can be 
simultaneously uncompressed and extracted in one step.

2. Change directory to the location where you would like the JDK to be 
installed. Move the .tar.gz archive binaries to the current directory.

3. Unpack the tarball and install the JDK.


root@x4470a:/export/jdk7u11# ls -l
total 508815
-r--r--r--   1 10       143         3339 Jan 12 08:21 COPYRIGHT
-rw-r--r--   1 root     root     259955712 Jan 25 10:55 
jdk-7u11-solaris-i586.tar
-rw-r--r--   1 10       143           40 Jan 12 08:21 LICENSE
-r--r--r--   1 10       143          114 Jan 12 08:21 README.html
drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7cfg
drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7dev
drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7jmp
drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7man
drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7rt
-r--r--r--   1 10       143       172252 Jan 12 08:21 
THIRDPARTYLICENSEREADME.txt
root@x4470a:/export/jdk7u11# cd /opt
root@x4470a:/opt# ls -l
total 0
root@x4470a:/opt#

-----Original Message-----
From: pkg-discuss-boun...@opensolaris.org 
[mailto:pkg-discuss-boun...@opensolaris.org] On Behalf Of Johnny Liu
Sent: Friday, January 25, 2013 11:17 AM
To: Antonello Cruz
Cc: pkg-discuss@opensolaris.org; smf-disc...@opensolaris.org
Subject: Re: [pkg-discuss] [smf-discuss] Oracle smf bootadm gurus please help me

Antonello,
Which directory did you put your jdk-7u11-solaris-i586.tar in?

-----Original Message-----
From: Antonello Cruz [mailto:antonello.c...@oracle.com]
Sent: Friday, January 25, 2013 10:55 AM
To: Johnny Liu
Cc: Alan Coopersmith; Mark J. Nelson; pkg-discuss@opensolaris.org; 
smf-disc...@opensolaris.org
Subject: Re: [smf-discuss] [pkg-discuss] Oracle smf bootadm gurus please help me

Johnny,

This is the package I tested on a non-global zone yesterday and was not able to 
reproduce your case. The only difference is that I extracted the tar file on a 
directory different than /opt Could you please try that? Since some files are 
supposed to go under /opt, it is conceivable that they are stomping on the 
package files and causing the problem.

Antonello

On 01/25/13 10:50, Johnny Liu wrote:
> Problem reproduced again using jdk-7u11-solaris-i586.tar
>
> This time I did not see svcs -xv error msg. But still /bin links
> becomes directory /bin/
>
> root@x4470a:/bin#
> root@x4470a:/bin# pkg verify core-os
> PACKAGE                                                                 STATUS
> pkg://solaris/system/core-os                                             ERROR
>          dir: export
>                  Group: 'root (0)' should be 'sys (3)'
>          dir: usr/share
>                  Group: 'bin (2)' should be 'sys (3)'
>          dir: var/share
>                  Group: 'root (0)' should be 'sys (3)'
>          link: bin
>                  File Type: 'directory' should be 'symbolic link'
> root@x4470a:/bin#
>
>   root@x4470a:/opt# ls -l
> total 508807
> -r--r--r--   1 10       143         3339 Jan 12 08:21 COPYRIGHT
> -rw-r--r--   1 root     root     259955712 Jan 25 10:55 
> jdk-7u11-solaris-i586.tar<---------------------
> -rw-r--r--   1 10       143           40 Jan 12 08:21 LICENSE
> -r--r--r--   1 10       143          114 Jan 12 08:21 README.html
> drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7cfg
> drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7dev
> drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7jmp
> drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7man
> drwxr-xr-x   4 10       143            6 Jan 12 08:20 SUNWj7rt
> -r--r--r--   1 10       143       172252 Jan 12 08:21 
> THIRDPARTYLICENSEREADME.txt
> root@x4470a:/opt#
>
> root@x4470a:/opt#
> root@x4470a:/opt# bootadm update-archive
> sh: /boot/solaris/bin/extract_boot_filelist:  not
> found<---------------------
>
> root@x4470a:/bin# ls -l
> total 11
> lrwxrwxrwx   1 root     other         28 Jan 25 10:56 ControlPanel ->  
> ../java/jre/bin/ControlPanel
> lrwxrwxrwx   1 root     other         16 Jan 25 10:56 java ->  
> ../java/bin/java
> lrwxrwxrwx   1 root     other         18 Jan 25 10:56 javaws ->  
> ../java/bin/javaws
> lrwxrwxrwx   1 root     other         24 Jan 25 10:56 jcontrol ->  
> ../java/jre/bin/jcontrol
> lrwxrwxrwx   1 root     other         19 Jan 25 10:56 keytool ->  
> ../java/bin/keytool
> lrwxrwxrwx   1 root     other         16 Jan 25 10:56 orbd ->  
> ../java/bin/orbd
> lrwxrwxrwx   1 root     other         22 Jan 25 10:56 policytool ->  
> ../java/bin/policytool
> lrwxrwxrwx   1 root     other         16 Jan 25 10:56 rmid ->  
> ../java/bin/rmid
> lrwxrwxrwx   1 root     other         23 Jan 25 10:56 rmiregistry ->  
> ../java/bin/rmiregistry
> lrwxrwxrwx   1 root     other         22 Jan 25 10:56 servertool ->  
> ../java/bin/servertool
> lrwxrwxrwx   1 root     other         21 Jan 25 10:56 tnameserv ->  
> ../java/bin/tnameserv
> root@x4470a:/bin# pwd
> /bin
> root@x4470a:/bin#
>
>
>
> -----Original Message-----
> From: pkg-discuss-boun...@opensolaris.org
> [mailto:pkg-discuss-boun...@opensolaris.org] On Behalf Of Johnny Liu
> Sent: Friday, January 25, 2013 10:41 AM
> To: Alan Coopersmith; Mark J. Nelson
> Cc: pkg-discuss@opensolaris.org; smf-disc...@opensolaris.org
> Subject: Re: [pkg-discuss] [smf-discuss] Oracle smf bootadm gurus
> please help me
>
> I am trying JDK 7u11 now.
>
>
> -----Original Message-----
> From: Alan Coopersmith [mailto:alan.coopersm...@oracle.com]
> Sent: Friday, January 25, 2013 10:39 AM
> To: Mark J. Nelson
> Cc: Johnny Liu; pkg-discuss@opensolaris.org;
> smf-disc...@opensolaris.org
> Subject: Re: [pkg-discuss] [smf-discuss] Oracle smf bootadm gurus
> please help me
>
> On 01/25/13 10:32 AM, Mark J. Nelson wrote:
>> And, as Alan correctly points out, these are not appropriate packages
>> to be using, and probably shouldn't even be available on the download page.
>
> They aren't on the main download page, but in the past releases archive with 
> clear warnings:
>
>     WARNING: These older versions of the JRE and JDK are provided to help
>     developers debug issues in older systems. They are not updated with
>     the latest security patches and are not recommended for use in production.
>
> http://www.oracle.com/technetwork/java/javase/archive-139210.html
>
> The normal JDK 7 download page gives you JDK 7u11 instead:
>
> http://www.oracle.com/technetwork/java/javase/downloads/index.html
>
> --
>          -Alan Coopersmith-              alan.coopersm...@oracle.com
>           Oracle Solaris Engineering - http://blogs.oracle.com/alanc
>
>
> ________________________________
>
> This message and any attached documents contain information from QLogic 
> Corporation or its wholly-owned subsidiaries that may be confidential. If you 
> are not the intended recipient, you may not read, copy, distribute, or use 
> this information. If you have received this transmission in error, please 
> notify the sender immediately by reply e-mail and then delete this message.
> _______________________________________________
> pkg-discuss mailing list
> pkg-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
>
>
> ________________________________
>
> This message and any attached documents contain information from QLogic 
> Corporation or its wholly-owned subsidiaries that may be confidential. If you 
> are not the intended recipient, you may not read, copy, distribute, or use 
> this information. If you have received this transmission in error, please 
> notify the sender immediately by reply e-mail and then delete this message.
>
> _______________________________________________
> smf-discuss mailing list
> smf-disc...@opensolaris.org



________________________________

This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.

_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss


________________________________

This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.

_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to