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 > wrong jdk_path

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-03, 04:47
dvillani dvillani is offline
Registered User
 
Join Date: Aug 2003
Location: Italy
Posts: 33
wrong jdk_path

I have Installed FixPack3 for DB2 V8.1 on Red Hat Linux.
Using control center, when I want to create a TOOLS CATALOG, I have an error saying that the parameter jdk_path is not set correctly.
I saw that this parameter is set on /opt/IBMJava2-131 but this don't exist on my DB2 machine.
I could be possible that was removed by the FixPack?
Reply With Quote
  #2 (permalink)  
Old 10-10-03, 04:53
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Is there any Java version on your machine, such as 1.4? If so you can change the path with:

db2 update dbm cfg using JDK_PATH /opt/IBMJava2-14

if you don't have any Java, then you can download it from the IBM website.
Reply With Quote
  #3 (permalink)  
Old 10-10-03, 05:10
dvillani dvillani is offline
Registered User
 
Join Date: Aug 2003
Location: Italy
Posts: 33
Yes, I have a j2sdk1.4.2 on my machine. But should I point to its contained "jre" directory or simply to the root /usr/java/j2sdk1.4.2?
Reply With Quote
  #4 (permalink)  
Old 10-10-03, 05:13
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
For the DB2 command I think it is just /usr/java/j2sdk1.4.2

I wonder about using the non-IBM Java for DB2 (if that is what you have). I know it should work, but who knows?
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