If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2cc giving exception in db2 version 8.1 on red hat linux 8

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-11-04, 11:11
parshi parshi is offline
Registered User
 
Join Date: Feb 2004
Posts: 1
db2cc giving exception in db2 version 8.1 on red hat linux 8

I'm able to run db2tsrt on the linux system. But when I tried to open the control center using db2cc command, it is throwing an exception "unexpected exception during linking:
java.lang.ClassNotFoundException: javax.swing.JApplet"......

I've installed IBMJava2-131 on the system and had given the JAVA_HOME in .bash_profile of the User and exported the same.

Even I tried it giving the path on /etc/profile but the result is the same.

Can anybody help me out solving this issue.....
Thanks in Advance....
Reply With Quote
  #2 (permalink)  
Old 02-11-04, 11:23
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: db2cc giving exception in db2 version 8.1 on red hat linux 8

db2tsrt -- What is this ?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 02-11-04, 11:23
CrimsonBane CrimsonBane is offline
Registered User
 
Join Date: Feb 2004
Posts: 5
Hi

It sounds like you setup JAVA_HOME but forgot to setup the rest of the shell variables. This is what I have on my system:

JAVA_HOME=/usr/java/jdk1.4.2_03

PATH="$PATH:$JAVA_HOME/bin"

CLASSPATH=$JAVA_HOME/lib

Put the above in your /etc/profile (modifying the path of course)

and then type source /etc/profile to load the variables up.

Then db2cc should work.

Last edited by CrimsonBane; 02-11-04 at 11:29.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On