Operating System - HP-UX
1820390 Members
3454 Online
109623 Solutions
New Discussion юеВ

how to install jdk 1.4 on the directory which is not in /opt/java1.4?

 
SOLVED
Go to solution
MA Qiang
Regular Advisor

how to install jdk 1.4 on the directory which is not in /opt/java1.4?

How to use swinstall to install JDK depot in my home directory? I can not change the installation path of the depot.
5 REPLIES 5
G. Vrijhoeven
Honored Contributor
Solution

Re: how to install jdk 1.4 on the directory which is not in /opt/java1.4?

Hi,

You could change the root to your home dir. This way you will get an //opt/java1.4 /.... but this will also create //var/adm/sw/..... I think this is not what you want. If the SD kit is created to be relocatable you will have that option under the action menu when the software is highlited. I do not think these are options you would like/can use. Just install the software and move it to your home dir. The command
swlist -l files will list all file locations.

HTH,

Gideon
Thayanidhi
Honored Contributor

Re: how to install jdk 1.4 on the directory which is not in /opt/java1.4?

Hi,

Why do you want change the path?
It's recommended to install under /opt only.

If you already have a java in /opt/java1.4 remove it. To list the files which are part of current java, swlist -files .

Regards

TT
Attitude (not aptitude) determines altitude.
Alex Lavrov.
Honored Contributor

Re: how to install jdk 1.4 on the directory which is not in /opt/java1.4?

In swinstall GUI you can change the installation directory of the product. In the same menu you have the "Install" command you should have "Change directory" command. You just enter the directory you want and the depot will be installed there.


Regards,
Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Alex Lavrov.
Honored Contributor

Re: how to install jdk 1.4 on the directory which is not in /opt/java1.4?

A little correction:

It's "Change product location" in the "Actions" menu. You can change i only for product, so if you are installing bundle, just double click on it, and you'll see the list of products and when you mark the product you can change it's install location.

REgards
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Santosh_24
New Member

Re: how to install jdk 1.4 on the directory which is not in /opt/java1.4?

Hi,

This issue is also addressed in the Release notes that is available on the webiste from where you download the Java 1.4 installer.
In the install instruction section, there are steps/procedures outlined to change the default install directory and set teh path variables accrodingly.

Regards
Santosh