4 Replies Latest reply on May 5, 2006 8:22 AM by rajasekars2003

    Fabio Example

    enda.dowling

      Also, When I am in Debug, I am getting this Error on the top of the appication window of DEBUG



      Could not locate tools.jar. Unexpected results may occur. Make sure that you have selected a JDK with its path pointing to its home directory not to its JRE


      has anyone come accross this error before and is there a way around it?

        • 1. Re: Fabio Example
          dr_tuborg

          I have the exact same problem!

          If someone could help!

          • 2. Re: Fabio Example
            nfg

            Then environment variable JAVA_HOME does not point to the j2sdk or the JBoss instance is launched using another JRE. Ensure that the IDE settings are such that only the J2SDK's JRE is being used.

            Check under Window->Preferences->Java->Installed JRE's and ensure only the j2sdk's one is listed. Also check under Project->Preferences->Java Build Path->Libraries that only the J2SDK is listed.

            Hope it helps.

            • 3. Re: Fabio Example
              enda.dowling

              Thanks for that mate. Appreciate it. Worked like a treat. The only thing is, I was trying and trying and NOTHING, but once I deleted the old configuration and added a new one, then it was sweet as..
              Thanks for the help buddy.
              Enda

              • 4. Re: Fabio Example
                rajasekars2003



                As stated in the error message itself we have to do

                Just go to the installed JRE and select the added jre and edit in that mention only the jdk home path which is installed in your machine
                & not to its JRE & select ok then come to previous menu

                now the error message will disseaper