LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2003, 02:59 PM   #1
byfaithalone
LQ Newbie
 
Registered: Sep 2003
Location: Little Rock, AR
Distribution: SUSE 8.2
Posts: 23

Rep: Reputation: 15
Angry Multiple JAVA Versions / DB2 8.1 / SUSE 8.2


Greeting Linux Community:

I have a couple of issues I would like to address regarding DB2 & JAVA:

Can I have multiple versions of JAVA installed on my Linux box? What is the best strategy for defining JAVA path for DB2 tools (IBM Java 1.31) and global path (JAVA 1.4.1) for other tools (Apache, Tomcat, General)? I currently only have 1.31 on my box and have modified etc/profile to append path globally for all users. This will not work for our dev environment.
 
Old 10-15-2003, 03:35 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Yes you can have multiple version of java on the same machine.

Your environment problem has its challanges. I'd suggest setting the default JAVA_HOME to be the 1.4.1 for all the tools, etc... and create a shell script called 'dbshell' or whatever and have it spawn a new shell and set the JAVA_HOME to the IBM Java. You can also change the prompt so you dont get confused. When you are done running the db tools, you can exit, and be at the point were you before launching the dbshell.

good luck, not an easy problem to work around.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptic Multiple Versions Hook99 Linux - Newbie 6 03-13-2005 11:04 AM
SuSE 9.2 and IBM DB2 V.8.1 rkarl SUSE / openSUSE 4 01-05-2005 04:18 AM
uninstall java 1.4 for DB2 8.1 install greatwhite99 Linux - Newbie 17 09-21-2004 01:19 PM
Multiple versions of GLIBC El Craigo Red Hat 2 08-12-2004 12:14 AM
DB2 & Java problem/ Please HELP! Bogdan Linux - Software 0 05-06-2002 03:23 PM


All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration