Unable to locate tools.jar

I am building a project in Java with the help of online compiler.

I have this error:

Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar

I have installed a JDK and the folder: C:\Program Files\Java\jre6\lib is in my system but the file tools.jar is not there. Can Anyone suggest me? I appreciate any guidance here.

This isn’t a Software AG stack question, but here’s a solution -

KM