> For what it's worth, db2cc is now working, and here's my env:
>
[quoted text clipped - 9 lines]
> PATH=$PATH:/opt/gnome/bin
> PATH=$PATH:/opt/kde3/bin
I'm very curious about these. Why are you clearing out the PATH, only
to reset it to include what dbprofile has? What would happen if IBM
changed db2profile to add another directory to your PATH?
> export PATH
> # unset JAVA_BINDIR
[quoted text clipped - 4 lines]
>
> You'll notice I had previously tried to unset the JAVA_ vars but it had
That's because db2javit (which is called by db2cc) resets its own
environment to use the Java that is specified by the instance's dbm cfg
(check for the JDK_PATH entry). You can actually point this to any
Java you wish - but if it's not one certified by IBM, you are running
at your own risk.
> no effect. The LD_ASSUME_KERNEL=2.2.5 did the trick, and we're on the
> air. But I do agree that we should be pointing to the right JDK. The
> biggest problem as everyone knows is that every time a java application
> is installed it seems like I need yet another version of the JDK that
> somebody made just for their software.
DB2 doesn't need one made just for it - but it is only validated
against certain JVMs.
> "Java, write once, run everywhere but be sure to use our version of the
> JDK"
Yes, something like that. Problem is that the JVMs aren't really as
compatable with each other as some would like ;-)
> If you have some specific vars I should be using for IBM DB2 please let
> me know, otherwise it appears to be working correctly. We'll also be
> applying the FixPacks shortly.