- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing Installation path for JDK 1.4.2.08
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 01:36 AM
тАО05-23-2005 01:36 AM
I have on version of JDK 1.4.2.04 already installed in /opt/java1.4 and wanted to install 1.4.2.08 on the same server. Is there anyway I can specify an alternate directory for 1.4.2.08 installation. So far I have tried -
lewis# swinstall -s $(pwd)/sdk14_14208_1100.depot T1456AA @ /vendor
The above installed the jdk in /vendor/opt/java1.4 directory. But I dod get following errors->
* Selection succeeded.
* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "lewis:/vendor".
ERROR: "lewis:/vendor": An update to the installed product database
or depot catalog may have errors.
WARNING: "lewis:/vendor": 1 postinstall or postremove scripts had
warnings.
* The execution phase failed for "lewis:/vendor".
* Analysis and Execution had errors.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log lewis-0061 @ lewis:/vendor".
======= 05/23/05 09:32:51 EDT END swinstall SESSION (non-interactive)
(jobid=lewis-0061)
When I check swjob logs, hereis what I see->
lewis# swjob -a log lewis-0061 @ lewis:/vendor
======= 05/23/05 09:31:32 EDT BEGIN install AGENT SESSION (pid=9040)
(jobid=lewis-0061)
* Agent session started for user "root@lewis". (pid=9040)
* Beginning Analysis Phase.
* Source:
lewis:/archive/SMG_902/sdk14_14208_1100.depot
* Target: lewis:/vendor
* Target logfile: lewis:/vendor/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/vendor" is estimated to
increase by 131900 Kbytes.
This will leave 1072074 Kbytes of available user disk space
after the installation.
* Summary of Analysis Phase:
* 13 of 13 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.
* Beginning the Install Execution Phase.
* Filesets: 13
* Files: 1418
* Kbytes: 130427
ERROR: RPC exception: "Who are you failed (dce / rpc)" 05/23/05
09:32:09 EDT
ERROR: Failed to register "/vendor". You must register it later using
the "swreg" command.
* Installing bundle "T1456AA,r=1.4.2.08.02" .
* Installing fileset "Jdk14.JDK14-COM,r=1.4.2.08.02" (1 of 13).
* Installing fileset "Jdk14.JDK14-DEMO,r=1.4.2.08.02" (2 of 13).
* Installing fileset "Jdk14.JDK14-PA11,r=1.4.2.08.02" (3 of 13).
* Installing fileset "Jdk14.JDK14-PA20,r=1.4.2.08.02" (4 of 13).
* Installing fileset "Jdk14.JDK14-PA20W,r=1.4.2.08.02" (5 of
13).
* Installing fileset "Jre14.JRE14-COM,r=1.4.2.08.02" (6 of 13).
* Installing fileset "Jre14.JRE14-COM-DOC,r=1.4.2.08.02" (7 of
13).
* Installing fileset "Jre14.JRE14-PA11,r=1.4.2.08.02" (8 of 13).
* Installing fileset "Jre14.JRE14-PA11-HS,r=1.4.2.08.02" (9 of
13).
* Installing fileset "Jre14.JRE14-PA20,r=1.4.2.08.02" (10 of
13).
* Installing fileset "Jre14.JRE14-PA20-HS,r=1.4.2.08.02" (11 of
13).
* Installing fileset "Jre14.JRE14-PA20W,r=1.4.2.08.02" (12 of
13).
* Installing fileset "Jre14.JRE14-PA20W-HS,r=1.4.2.08.02" (13 of
13).
* Running install clean command /usr/lbin/sw/install_clean.
WARNING: Transition links are not created for the filesets installed
at the target. After booting up from the system using
the alternate root at the target, run tlinstall command to
create transition links.
WARNING: The command "/usr/lbin/sw/install_clean" had warnings. The
installation will continue. Check the above output for
details about the warnings.
* Building the software file "/vendor/var/adm/sw/needs_config"
to be used for post-reboot "swconfig" execution. The
information in this file will be used as input to "swconfig"
after the system reboots.
* Summary of Execution Phase:
* 13 of 13 filesets had no Errors or Warnings.
ERROR: The Execution Phase had errors and warnings. See the above
output for details.
======= 05/23/05 09:32:51 EDT END install AGENT SESSION (pid=9040)
(jobid=lewis-0061)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 01:43 AM
тАО05-23-2005 01:43 AM
SolutionThough there may be a way around this, it appears to me that within the 1.4.x world, you can have one version, though its possible to have Java 1.1, 1.2 1.3 and 1.4 on the same system with no ill effects.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 01:49 AM
тАО05-23-2005 01:49 AM
Re: Changing Installation path for JDK 1.4.2.08
rename /opt/java1.4 to /opt/java1.4.2.04
install 1.4.2.08 as normal
rename this new directory as /opt/java1.4.2.08
You can then set up your path to use either, and create a symbolic link to /opt/java for whichever one you prefer.
This however may cause problem in future, when uninstalling or patching the software. If you are happy for the earlier version to not be patched in future then you may be okay, but be sure this "hack" is documented against your server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 01:54 AM
тАО05-23-2005 01:54 AM
Re: Changing Installation path for JDK 1.4.2.08
So yes, you can simply rename as the previous poster has illustrated. Your apps / user environment should then simply point via environment variables to the Java installation it desires to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 02:23 AM
тАО05-23-2005 02:23 AM
Re: Changing Installation path for JDK 1.4.2.08
* Kbytes: 130427
ERROR: RPC exception: "Who are you failed (dce / rpc)" 05/23/05
09:32:09 EDT
ERROR: Failed to register "/vendor". You must register it later using
the "swreg" command.
* Installing bundle "T1456AA,r=1.4.2.08.02" .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 03:40 PM
тАО10-20-2005 03:40 PM
Re: Changing Installation path for JDK 1.4.2.08
I have also encountered this problem of transition links, although the software is not java, but my own created package. It succeeds when it is installed with target directory /, but fails with the errors like above posted by mukul when installed on other location than /.
What i could conclude is
it succeeds with install setup, loading and than when it touches install clean it gives errors. I know in /usr/lbin/install_clean it checks for those old days shared and private roots and exits, but than my concern is why it does not go ahead with the configure part, after all the transition link think is warning only.
This is happening both when i install with swinstall GUE and command line. I thought technically, i should succeed with GUE on alternate root from the default /.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2005 12:14 AM
тАО10-21-2005 12:14 AM
Re: Changing Installation path for JDK 1.4.2.08
Try bouncing the daemon /usr/sbin/swagentd.
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2005 12:52 AM
тАО10-21-2005 12:52 AM
Re: Changing Installation path for JDK 1.4.2.08
What you did for your case.