IBM DB2: db2cc - java 
Author Message
 IBM DB2: db2cc - java
I've rpm-ed the DB2 control center in a SUSE 7.2 environment

Everything looked well

But when I tried to start it, with the db2cc-command
I get following error:

/home/db2inst1/sqllib/bin/db2cc: cd: /home/db2inst1/sqllib/cc: unknown file
or map
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM

Somebody knows the answer?

Thanx!



Tue, 10 Aug 2004 05:24:28 GMT
 IBM DB2: db2cc - java

Sounds like you either need to install a java environment, or if you have one,
db2 doesn't know how to locate it.

Larry Edelstein

Quote:

> I've rpm-ed the DB2 control center in a SUSE 7.2 environment

> Everything looked well

> But when I tried to start it, with the db2cc-command
> I get following error:

> /home/db2inst1/sqllib/bin/db2cc: cd: /home/db2inst1/sqllib/cc: unknown file
> or map
> Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM

> Somebody knows the answer?

> Thanx!



Tue, 10 Aug 2004 08:49:34 GMT
 IBM DB2: db2cc - java
Hi,

maybe your classpath is not set correctly. Take a look into db2cc, it is a
shell-script which you can view and edit with every text editor.
I had to make some changes to this script to make it work on a suse-server
a few months ago.

Check if you can start a java-application. If this is not possible, you
should fix this general problem first, as the control-centre is a java-app.

If you cannot find the problem: what jre do you use?

Greetings,
 Sebastian Eichner

Quote:

> I've rpm-ed the DB2 control center in a SUSE 7.2 environment

> Everything looked well

> But when I tried to start it, with the db2cc-command
> I get following error:

> /home/db2inst1/sqllib/bin/db2cc: cd: /home/db2inst1/sqllib/cc: unknown
> file or map
> Unable to initialize threads: cannot find class java/lang/Thread
> Could not create Java VM

> Somebody knows the answer?

> Thanx!



Fri, 13 Aug 2004 23:14:04 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. Differences between COM.ibm.db2.jdbc.app.DB2Driver and COM.ibm.db2.jdbc.net.DB2Driver

2. IBM Visualage for Java and DB2

3. Problems with IBM-DB2 Version 6.1 - Right of Komma Nummbers when I write with Java

4. Linux IBM DB2 and Java stored procedures

5. DB2CC on RedHat using IBM JVM ?

6. data migration from IBM DB400 to IBM DB2

7. IBM-DB2 and IBM-SQL/DS Information Needed

8. $ db2cc /home/db2inst1/sqllib/bin/db2cc: line 57: db2cc error - segmentation fault

9. db2cc error on DB2 V8.1

10. db2cc problem on DB2 V8.1

11. db2 7.1 / Linux Problem with db2cc

12. DB2CC can not start (DB2 7.1/Linux7.1)


 
Powered by phpBB® Forum Software