In Preferences - Java - Installed JREs
Add the JDK and point to: C:\J2EE\Java\jdk1.5.0_06
In my case, I just deleted the previous JRE entry and use the JDK as the JRE. Then in the Debug dialog on the JDK tab I simpy use Workspace default JRE which is mapped to a JDK.
Hopefully that makes a little sense.
I've not encounted a reason to leave the JRE for Eclipse as a plain JRE, JBoss is much happier that it is using a JDK instead.
Burr -- THANK you very much -- your hint got me to change the JRE to JDK and we got rid of the tools.jar warning/error.
HOWEVER -- I rechecked the Ecplise and JBossIDE documentation regarding "setting the JRE" -- and NO-WHERE (did I find) did it suggest that we could specify the JDK for the JRE.
Thus my struggle to correct the designation implied in the warning/error.
Perhaps this "screen" in Eclipse could state "...enter JRE or JDK..."
Not a JBoss-IDE issue I suppose, thus I go away shaking my head.
(Not too easy this J2EE stuff - eh?)
Thanks for your feedback -- John.