1761305 Members
3030 Online
108901 Solutions
New Discussion юеВ

Re: JDK Installation

 
SOLVED
Go to solution
OM Naren
Occasional Contributor

JDK Installation

WeтАЩve downloaded JDK 5.0.10 and want to install the same in a different dir(Remote Dir) .

IтАЩm trying to install using



#/usr/sbin/swinstall тАУs jdk*.depot \* @/jdk



IтАЩm getting this error msg.



ERROR: Could not apply the software selection "jdk15_15010_pa.depot";

it is not available from depot or root "jedi:/var/spool/sw".

* Software selection failed for "jedi:/var/spool/sw".

ERROR: Could not apply the software selection

"jdk15aa_15010_pa.depot"; it is not available from depot or

root "jedi:/var/spool/sw".

* Software selection failed for "jedi:/var/spool/sw".

ERROR: No software has been selected.





Pl advice me on how to install this. All the depots are in /tmp .



Thanks in Advance,
J
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: JDK Installation

Always use the *full path* to the depot location:

swinstall -s /full/path/to/dep.depot

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
whiteknight
Honored Contributor
Solution

Re: JDK Installation

Hi J,


#swinstall -s /tmp/jdk15_15010_pa.depot

Also you current depot is for PA RISC. please also verify as well.

WK

Problem never ends, you must know how to fix it
OM Naren
Occasional Contributor

Re: JDK Installation

I tried,But ended up getting this msg again

* Could not apply the software selection
"Jre15.JRE15,r=1.5.0.10.00,a=HP-UX_B.11.11_32/64,v=HP,fa=HP-UX_B.11.23_PA"
because a different variant of this same product has already
been selected.
* Could not apply the software selection
"Jdk15.JDK15,r=1.5.0.10.00,a=HP-UX_B.11.11_32/64,v=HP,fa=HP-UX_B.11.23_PA"

----

Actually I want to install this to a remote Directory which is NFS. Can you pl help me Achieving this.


whiteknight
Honored Contributor

Re: JDK Installation

J,

it will not work for NFS !!

if you want to install to remote Server.

say your current depot in ServerA
and you want to install in ServerB

login to ServerB
#swinstall -s ServerA:/tmp/jdk15aa_15010_pa.depot

hope this help
WK
Problem never ends, you must know how to fix it
OM Naren
Occasional Contributor

Re: JDK Installation

Hi,
Thanks for your reply. But The other server is running a different OS. So, I dont think I can use Swinstall there...

Thanks,
J
OM Naren
Occasional Contributor

Re: JDK Installation

Hi,
When I'm trying to install JDK got this error msg.

Advice me on how to proceed.



* Beginning the Install Execution Phase.
* Filesets: 12
* Files: 2503
* Kbytes: 155697
* Installing bundle "Java15JDK,r=1.5.0.10.00" because it is a
"reference" bundle and one or more of its contained filesets
is being installed.
* Installing fileset "Jdk15.JDK15,r=1.5.0.10.00" (1 of 12).
* Installing fileset "Jdk15.JDK15-COM,r=1.5.0.10.00" (2 of 12).
ERROR: The internal uncompress routine has detected corruption while
decompressing to file
"/opt/java1.5/THIRDPARTYLICENSEREADME.txt" which has
compression type "gzip".
ERROR: tar: /tmp/jdk15_15010_pa.depot : This doesn't look like a tar
archive
ERROR: tar: /tmp/jdk15_15010_pa.depot : Skipping to next file...
ERROR: Internal error. The directory "/opt/java1.5/bin" is missing
from the source media. It was not loaded. This error
occurred in function "idam_FinishTapeItem", source file
"id_ser.c", line 4809. Please give this information to your
Hewlett-Packard support contact.
ERROR: The file "/opt/java1.5/bin/ControlPanel" was not loaded
because it is missing from the source media.
ERROR: The file "/opt/java1.5/bin/HPUXChildWrapper" was not loaded
because it is missing from the source media.

Thanks,
J
Torsten.
Acclaimed Contributor

Re: JDK Installation

"ERROR: The internal uncompress routine has detected corruption while
decompressing to file"

corrupted file?

Try to download again.
Compare the checksum!

Also read this from the download page:

"Another solution is to substitute "http" for "ftp" in the download link, which would then be: http://ftp.hp.com/pub/gsy/"

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: JDK Installation

>But ended up getting this msg again
* Could not apply the software selection
"Jre15.JRE15,r=1.5.0.10.00,a=HP-UX_B.11.11_32/64,v=HP,fa=HP-UX_B.11.23_PA"
because a different variant of this same product has already been selected.

This means you may be hosed. You must copy the depot and then remove ALL of the incompatible filesets. Then you can install to an alternate root.
Try listing your depot:
swlist -l fileset -a software_spec -s /path-to-depot/jdk15_15010_pa.depot

>Actually I want to install this to a remote Directory which is NFS. Can you pl help me Achieving this?

You would need to export that filesystem with the root is root.
And then use "swinstall -x write_remote_files=true ...".