[EMAIL PROTECTED] wrote: > > I'm trying to get DB2 to install and run on my Debian box. One of the > programs it needs is java. IBM is highly recommending that you install and > run their version of java. I have pulled down the .rpm for it and > installed it both as a rpm and as a deb (not at the same time). Anyway, no > matter which way I install it. running any programs that use java (i.e. > db2cc) complain that libjava.so can not be found. > > I have added the path to /etc/ld.so.conf where libjava.so is founc, but to > no avail. I also tried adding symbolic links to the .so files to > /usr/local/lib. This did not work either. I recommend jdk1.3 from blackdown. deb ftp://ibiblio.org/pub/linux/devel/lang/java/blackdown.org/debian potato non-free apt-get install j2sdk1.3
JAVA_HOME will be /usr/lib/j2sdk1.3 and the installer handles all the /etc/alternative stuff. the symlinks are like /usr/bin/java ... Have fun, Eric