Results 1 to 3 of 3

Thread: db2cc problem

  1. #1
    Join Date
    Mar 2003
    Posts
    1

    Unanswered: db2cc problem

    hi all,

    i have a very strange problem after installing and setting up tha path of jre in linux box of DB2 7 version. when i issue db2cc command after getting attached to tha instance it gives the following

    error./home/db2inst1/sqllib/bin/db2cc: line 56: jre: command not found

    i am helpless coz i installed IBM's JDk also..but can't rectify. Help is in need of urgent basis.! Thankx in advance.

    Bye and regards,
    Vinu

  2. #2
    Join Date
    Mar 2003
    Posts
    33

    Re: db2cc problem

    Try to issue db2jstrt -command before db2cc -command

    Regards,

    r


    Originally posted by pantera
    hi all,

    i have a very strange problem after installing and setting up tha path of jre in linux box of DB2 7 version. when i issue db2cc command after getting attached to tha instance it gives the following

    error./home/db2inst1/sqllib/bin/db2cc: line 56: jre: command not found

    i am helpless coz i installed IBM's JDk also..but can't rectify. Help is in need of urgent basis.! Thankx in advance.

    Bye and regards,
    Vinu
    -r-

  3. #3
    Join Date
    Mar 2003
    Location
    Dortmund, Germany
    Posts
    18
    I had the same problem:
    Just edit the db2cc-script and point the line to a valid "java" binary.
    You may have to edit the JRE_OPTIONS line above to remove the "-nojit" - parameter.

    Works fine here, even with different java distributions (blackdown 1.3.1/1.4.1, several sun jdks)

    Tell me if it works that way

Posting Permissions

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