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

    Fabio Example

    Enda Dowling Newbie

      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
          Nuno Jesus Newbie

          I have the exact same problem!

          If someone could help!

          • 2. Re: Fabio Example
            Francois Groenewald Newbie

            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 Newbie

              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.

              • 4. Re: Fabio Example
                raja sekar Newbie

                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