Solved

Installing multiple Solaris JDKs

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.
Suggested Courses

636 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