I already have JRE installed. My program is saying that it cannot find tools.jar in JRE. Is tools.jar supposed to be in JRE? I know that tools.jar is found in JDK. If the program is supposed to look for tools.jar in JDK, but not in JRE, how would I change that?

In Windows->Settings...->Java->Installed JRE, click the Add... button. In JRE Home Directory, click the Search... button, and select your JDK directory (C:\apps\Java\jdk1.5.0_11). Give it the name you want, and click OK. Back to the Installed JRE window, check the JDK you have added (this will make it the default JRE for your projects.).