Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Posts
    127

    Unanswered: JRE that DB2 uses

    How do you find the JRE that DB2 uses. I know that db2profile gives the classpath. I thought by default DB2 uses its jre and the dbm cfg parameter "Java Development Kit 1.1 installation path (JDK11_PATH) = "
    if set overrides DB2's default path. If I am right, why is the parameter called JDK11...

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    In DB2 version 8 the parameter is now called JDK_PATH so it looks like they changed it from JDK11_PATH that was used in version 7 because the current JDK version can obviously change.

  3. #3
    Join Date
    Jun 2003
    Posts
    127
    Thanks for the response Marcus. Does it mean I can assume that DB2 uses its own JRE unless a specific path is mentioned in the dbm config?

    - Kota

  4. #4
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    My only experience with JRE is with DB2 version 8 on Linux. DB2 version 8 automatically installs JRE version 1.3 and sets the path when DB2 is installed. I subsequently installed IBM Java 1.4 and I used the following command to update the path:

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

    The JRE is necessary to use the GUI tools which are written in Java.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •