Solved

Installing multiple Solaris JDKs

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
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.:

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now