1825003 Members
2783 Online
109678 Solutions
New Discussion юеВ

Re: Install java1.3

 
SOLVED
Go to solution
Marcelo De Florio_1
Frequent Advisor

Install java1.3

I have installed java1.3.0.00, so i need install java1.3.0.01 in another directory /opt/java1.3, i.e /opt/java1.301.

How can i install in this directory ?

MDF

Marcelo De Florio
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Install java1.3

If the install will not allow you to rename the directory, then you can rename the existing one using "mv" (mv /opt/java1.3 /opt/orig_java1.3), then do the install to /opt/java1.3. Then rename it using "mv /opt/java1.3 /opt/java1.301". Then rename /opt/orig_java1.3 to /opt/java1.3.

The problem will be if you need to have both versions available to applications at the same time, which will probably force you to manage path names to to correct version of java.
Live Free or Die
Stefan Farrelly
Honored Contributor

Re: Install java1.3


Tough one. Software distrubtor is designed to install and configure an installed product into a set directory so I wouldnt advise to install it somewhere else. However, to do what you wish you could do;

1. in /opt mv java1.3 java1.3.old
2. install java 1.301. This will create /opt/java1.3
3. mv /opt/java1.3 /opt/java1.301
4. cd /opt; ln -s /opt/java1.3 /opt/java1.301

Now you have java1.301 in /opt/java1.301 but it can be referenced by someone pointing to this dir or /opt/java1.3
Im from Palmerston North, New Zealand, but somehow ended up in London...
Santosh Nair_1
Honored Contributor
Solution

Re: Install java1.3

You can do this by changing the product installation directory. First fire up swinstall and select the Java 1.3 version, i.e. in your case:

B9788AA -> 1.3.1.01.00re

and mark it for install. Then go down into the product, you should see the following:

Java2-JDK13_base -> 1.3.1.01.00re Java 2 SDK (700/800), PA x
Java2-JDK13_perf -> 1.3.1.01.00re Java 2 SDK (700/800), PA x
Java2-RTE13_base -> 1.3.1.01.00re Java 2 RTE 1.3 (700/800) x
Java2-RTE13_perf -> 1.3.1.01.00re Java 2 RTE (700/800), PA

Then select the first product, go to the action item and select change product location...from here you should be able to change the installation directory. You'll have to do this for all 4 products.

Finally, change the swinstall options to allow for multiple version:

select change options under the options menu and check Allow creation of multiple versions.

Then proceed with the install.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Marcelo De Florio_1
Frequent Advisor

Re: Install java1.3

Nair:

I try install java1.3; with your instructions, but i have a following messagge:

WARNING: No filesets in the product "Java2-RTE13_base,r=1.3.0.01" will
be configured as part of the install, because there is another
version with a same fileset already configured. If you want
multiple configured versions you must run "swconfig" with the
"allow_multiple_versions" option set to "true".
* A version of the fileset exists:
"Java2-RTE13_perf.JAVA2-JRE,l=/opt/java1.3,r=1.3.0.00".
This fileset version is already configured.
Marcelo De Florio
linuxfan
Honored Contributor

Re: Install java1.3

Hi,

Before you can install version 1.3.0.01 you will have to run swconfig -x allow_multiple_versions=true \*

For information on this look at the man page for swconfig
/Begin/
allow_multiple_versions=false
Prevents the configuration of another, independent version of a product when a version already is configured at the target.

If set to true, another version of an existing product can be configure in its new location. Multipl eversion can only be installed if a product is locatable. Multiple configured versions will not work unless the product supports it.

/End/

Once you run "swconfig -x allow_multiple_versions=true \*" invoke swinstall again and change the product location for each product in the java1.3.0.01 and you should then be able to install the new version in a different location(don't forget to change the option in swinstall to allow for multiple versions to be installed).

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates