Solved

Installing multiple Solaris JDKs

Posted on 2000-04-07
4
290 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

831 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