Need to install debuginfo package for openjdk

Latest response

I am new to RHEL and I am trying to generate some heap dumps using jmap which it fails with an InvocationTargetException. It seems I need to install the debuginfo package for openjdk. I just updated openjdk by doing: yum update java-1.7.0-openjdk, but it didn't seem to have installed such pacakge. I have tried, yum install java-1.7.0-openjdk-debuginfo but then it tells me that it can't find that package.

Any advice is greatly appreciated

Responses

You need to subscribe your system to the debuginfo channel so you have access to the debuginfo packages.

Then just debuginfo-install java-1.7.0-openjdk

Alternately, you can go to Downloads above, then Packages, then search for "java-1.7.0-openjdk" and you'll find all the debuginfo packages for individual download.

Sorry about the so late reply. your suggestion was very useful. We had an issue with the subscriptions to the RHSN and when that was resolved, we were able to install the debuginfo pacakges.