
DB2 on Linux - how to start the Control Centre
Quote:
> Whooops...
> I didn't see this reply. I use Deja.com so sometimes its way late.
> I did a which jre and found nothing either.
> I didn't read the HOW TO yet... suppose I should do that next...
> I am way out of my league, being an OS/2 and NT kind of guy, not a Linux
> or Unix person.. it seems there is SOOOO much customization on these
> platforms.. kinda like rolling your own on EACH component.. sigh.
> Mairhtin
> > Mairhtin:
> > It means that the db2cc script can't find the "jre" command (jre
> stands
> > for Java Runtime Environment, I believe).
> > I'm not in Linux at the moment, but try typing "which jre" and see if
> > the "jre" command is currently available within your $PATH setting. If
> > not, that's potentially a problem.
> > What version of the JDK are you using? Did you read the section of the
> > DB2 HOWTO that describes how to set up either IBM JDK 1.1.8 or JDK 1.3
> > (and modify the db2cc script if necessary)?
> > Dan
> > > Dan,
> > > The following happens when I do what you suggested :
> > > ./db2cc: jre: command not found
> > > I started the DB2jstrt with port 6799 ....
> > > What does that mean?
> > > Mairhtin
> > > on 11/13/2000, Dan Scott was blathering ....
> > >> Log on as the instance owner (default instance owner ID is
> "db2inst1") and issue the following command:
> > >> bash$ db2cc
> > >> If that doesn't work, then perhaps the DB2 JDBC server didn't
> start up automatically. Try something like:
> > >> bash$ db2jstrt 6799
> > >> bash$ db2cc 6799
> > >> where '6799' refers to an unused TCP/IP port on your system (6799,
> by the way, is a fairly safe bet.)
> > >> An alternative to the Quick Beginnings guide is the DB2 V7.1 HOWTO
> at http://www.linuxdoc.org/HOWTO/DB2-HOWTO/index.html, but it's really
> geared towards
> > >> installation information and answering FAQ.
> > >> hth,
> > >> Dan
> > > Mairhtin O'Feannag
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Somebody may bring a big stick on me here, but I didn't know jre is a
command.
I thought java would be one, and since Java 2 the java binary/program is
the same as that of
the JDK. If you use IBM JDK 1.3 for Linux, the java in ???/bin/java is just
a symbolic link
(or $hortcut, for M$ guy$) to ???/jre/bin/java. So if 'which java' tells
you zip, you probably
don't have a JDK/JRE, or it's not in your PATH. Then find one, install it,
and take it from there.
Cheers :-)