Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installing multiple Solaris JDKs

Posted on 2000-04-07
4
Medium Priority
?
297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 800 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

670 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