Solved

Installing multiple Solaris JDKs

Posted on 2000-04-07
4
292 Views
Last Modified: 2013-12-27
I have JDK1.2.2 on my Solaris system and need to install JDK1.1.7. How can this be done without affecting the 1.2.2 installation?
0
Comment
Question by:rsorrent
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2695166
Yes, but you'll need to be careful as to how it gets installed. The easiest way is to use a tar ball and simply unpack it into it's own directory. You can then manually set the CLASSPATH and PATH for the 1.1.7 version. Make sure that the PATH has the 1.1.7 bin directory before /bin & /usr/bin so that you get the 1.1.7 executables.
0
 

Author Comment

by:rsorrent
ID: 2700171
What is a tar ball? I extracted the tar file and got 5 packages, each starting with "SUNW" and the instructions state to run the pkgadd command. Any comments on this?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
ID: 2700739
The "tar ball distribution" is simply a tar file that unpacks to create a directly usable jdk. What you've got is the Solaris package distribution. It can be used, with a bit of care. The most straight forward method is to pkgrm the 1.2.2 JDK, install 1.1.7, then re-install 1.2.2. That way the links from /usr/bin point to the latest version. There'll be two directories as a result, /usr/java-1.1 & /usr/java1.2. You then change your CLASSPATH & PATH to point to the correct java.
0
 

Author Comment

by:rsorrent
ID: 2700803
Thanks!!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question