TrueTime/TrueCoverage reporting no source w/JDK1.2.2

0 Likes

Problem:

I ran my app against TrueTime/TrueCoverage, and when the app finished, it reported 0.00% for Source, and 100% for System.  The app ran and finished properly, so what is happening?

Resolution:

This most likely means that there is a registry key missing that needs to be added.  TrueTime/TrueCoverage make extensive use of the registry to find the proper VM paths, and they need to be set up properly.  Go to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft, and make sure that you have an entry under JavaSoft titled Java Runtime Environment.  If not, create this entry.  Make sure that there are two strings inside this key, it should look like this :

(Default)                                  (value not set)

CurrentVersion                        "1.2"

If these keys are not present, create two new strings and label them as described.  Within the Java Runtime Environment key, there should be another key, entitled 1.2.  If not present, create this key.  The strings within 1.2 should look like this :

(Default)                                  (value not set)

JavaHome                              "C:\jdk1.2.2\jre"

MicroVersion                           "2"

RuntimeLib                             "C:\jdk1.2.2\jre\bin\classic\jvm.dll"

Again, if these strings are not present, create them.  If the paths are incorrect, make sure to correct them.  You may not have your JDK installed to the default directories, so make sure that JavaHome and RuntimeLib are pointing to the corresponding paths for your setup.

Once these entries are either created or corrected, you should be able to see Source info under TrueTime/TrueCoverage.

Old KB# 11905
Comment List
Anonymous
Related Discussions
Recommended