Loading ...
Sorry, an error occurred while loading the content.

Re: [aima-talk] Re: AIMA files for JAVA

Expand Messages
  • Bob Futrelle
    Ciaran s comment about setting up a Wiki is an important one. Information such as he sent in his note below should be as available to as many as possible,
    Message 1 of 7 , Dec 31, 2010
    View Source
    • 0 Attachment
      Ciaran's comment about setting up a Wiki is an important one.  Information such as he sent in his note below should be as available  to as many as possible, and not confined to the people in the aima-talk group.

       - Bob Futrelle


      On Fri, Dec 31, 2010 at 3:53 PM, naraic_oreilly <naraic_oreilly@...> wrote:
       

      Hi Andrew,

      To resolve the problem you are seeing I would ensure that your Windows PATH environment variable contains the directory where your JDK's bin is, e.g.:

      C:\Program Files\Java\jdk1.6.0\bin

      this is where the javadoc.exe resides and is what appears to be whatr ant is complaining about.

      However, related to this, if you've already setup the projects in Eclipse you don't have to use the ant build files (these are provided for people not using Eclipse and by the project's developers for creating releases). In fact, the java classes generated by calling ant are put in a different location than the Eclipse project does and uses, so you can skip using Ant I think.

      As regards running programs, you've a couple of options here. Firstly, run any of 600+ unit tests. You can run them all from within eclipse by running this consolidated unit test:

      aima.test.core.unit.AllAIMAUnitTestSuite

      which you'll find under the src/test/java folder. Have a look here for more details on JUnit: http://www.junit.org/

      For programs, you'll need to look in the aima-gui project, which has GUIs and command line demos that you can run, e.g.:

      aima.gui.demo.search.EightPuzzleDemo

      just ensure the .java you open has a:

      public static void main(String[] args) {

      method in it in order to be able to run it as an application from within Eclipse. These can also all be from from our Java Web Start applications, which you can get to from the main project website.

      Note, ReflexVacuumAgent, is not a program (no main()) or a unit test, so you'll need to identify a unit test that uses it or a demo program that does. This is easily done in Eclipse after you've compiled all the projects by:

      1. Open the .java file containing the class of interest in the Eclipse editor.

      2. Double click on the name of the class so its marked as selected.

      3. Right click and bring up the context sensitive menu.

      4. Select 'References->Workspace'

      For ReflexCacuumAgent you should see that its used in the

      ReflexVacuumAgentTest

      I hope this helps, Happy New Year,

      Best

      Ciaran

      P.S. I'm going to enter an issue on the project website to set yp some wiki pages with instructions on how to setup your workspace to use the AIMA-Java projects.



      --- In aima-talk@yahoogroups.com, en9apr@... wrote:
      >
      > Hi Ciaran,
      >
      > Thanks for your advice. I did what you said, installed and selected JDK 1.6 and imported all three projects. I then cleaned all the projects and tried to build each project. aima-gui and aimax-osm were successfully built, but aima-core did not build successfully. The message I got was as follows:
      >
      > ------
      >
      > Buildfile: D:\AI\AIMA\aima-core\build.xml
      > aima-core.clean:
      > [delete] Deleting directory D:\AI\AIMA\aima-core\build
      > aima-core.makedirs:
      > [mkdir] Created dir: D:\AI\AIMA\aima-core\build
      > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin
      > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin\main
      > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin\test
      > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\doc
      > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\doc\javadoc
      > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\release
      > aima-core.compile-all:
      > [javac] Compiling 350 source files to D:\AI\AIMA\aima-core\build\bin\main
      > [javac] Note: Some input files use unchecked or unsafe operations.
      > [javac] Note: Recompile with -Xlint:unchecked for details.
      > [javac] Compiling 120 source files to D:\AI\AIMA\aima-core\build\bin\test
      > [javac] Note: Some input files use unchecked or unsafe operations.
      > [javac] Note: Recompile with -Xlint:unchecked for details.
      > aima-core.release:
      > [jar] Building jar: D:\AI\AIMA\aima-core\build\release\aima-core.jar
      > aima-core.makedocs:
      > [javadoc] Generating Javadoc
      > [javadoc] Javadoc execution
      >
      > BUILD FAILED
      > D:\AI\AIMA\aima-core\build.xml:69: Javadoc failed: java.io.IOException: Cannot run program "javadoc.exe": CreateProcess error=2, The system cannot find the file specified
      >
      > Total time: 5 seconds
      >
      > ------
      >
      > Sorry to bother you again,
      >
      > P.S. How do I run each program, say ReflexVacuumAgent.java in eclipse?
      >
      > Thanks,
      >
      > Andrew
      >
      > --- In aima-talk@yahoogroups.com, "naraic_oreilly" <naraic_oreilly@> wrote:
      > >
      > >
      > >
      > >
      > >
      > >
      > > Hi Andrew,
      > >
      > > It appears your JAVA_HOME is pointing to a Java Runtime Environment (JRE) and not a Java Development Kit (JDK), which is required to compile Java source files. You can download the latest JDK from:
      > >
      > > http://www.oracle.com/technetwork/java/javase/downloads/index.html
      > >
      > > However, as you are using Eclipse the AIMA-Java download includes default eclipse projects that you can import into your own workspace. You can do this in the following manner:
      > >
      > > 1. Select 'File->Import...'
      > >
      > > 2. Select 'General' then 'Existing Projects into Eclipse'.
      > >
      > > 3. Hit the 'Next >' button.
      > >
      > > 4. Populate the 'Select root directory:' with the location of the project you want to import, for e.g:
      > >
      > > C:\Temp\AIMA\aima-core
      > >
      > > Note: The projects need to be imported in the following order - aima-core, aima-gui, and aimax-osm (you do not require the aima-all project as that is used for creating releases).
      > >
      > > 5. Hit the 'Finish' button.
      > >
      > > 6. You may have to clean and rebuild the project in order to remove any warnings etc... you may get on the initial import.
      > >
      > > For this to work as with using Ant ensure Eclipse is pointing to a JDK as well. On windows you can check this by opening the menu 'Window->Preferences' and selected 'Java' followed by 'Installed JREs' and ensure a 1.6 JDK is registered and selected.
      > >
      > > I hope this helps.
      > >
      > > Best
      > >
      > > Ciaran
      > >
      > >
      > >
      > >
      > > --- In aima-talk@yahoogroups.com, "en9apr" <en9apr@> wrote:
      > > >
      > > > Hi,
      > > >
      > > > I am using eclipse with the JAVA code downloaded from:
      > > >
      > > > http://code.google.com/p/aima-java/downloads/list
      > > >
      > > > I created a new project in eclipse, loaded the file "build.xml" and then ran ant build.
      > > >
      > > > I got the following message:
      > > >
      > > > BUILD FAILED
      > > > C:\Users\Owner\Documents\Downloads\aima-java-1.4.0-OSM-Redesign\aima-core\build.xml:43: Unable to find a javac compiler;
      > > > com.sun.tools.javac.Main is not on the classpath.
      > > > Perhaps JAVA_HOME does not point to the JDK.
      > > > It is currently set to "C:\Program Files\Java\jre6"
      > > >
      > > > Does anyone know what I should do?
      > > >
      > > > Thanks,
      > > >
      > > > Andrew
      > > >
      > >
      >


    • en9apr@yahoo.com
      Hi Ciaran & Bob, Thanks for your help. I can now run the applications. Happy New Year! Andrew
      Message 2 of 7 , Jan 1, 2011
      View Source
      • 0 Attachment
        Hi Ciaran & Bob,

        Thanks for your help. I can now run the applications.

        Happy New Year!

        Andrew

        --- In aima-talk@yahoogroups.com, Bob Futrelle <bob.futrelle@...> wrote:
        >
        > Ciaran's comment about setting up a Wiki is an important one. Information
        > such as he sent in his note below should be as available to as many as
        > possible, and not confined to the people in the aima-talk group.
        >
        > - Bob Futrelle
        >
        >
        > On Fri, Dec 31, 2010 at 3:53 PM, naraic_oreilly
        > <naraic_oreilly@...>wrote:
        >
        > >
        > >
        > > Hi Andrew,
        > >
        > > To resolve the problem you are seeing I would ensure that your Windows PATH
        > > environment variable contains the directory where your JDK's bin is, e.g.:
        > >
        > > C:\Program Files\Java\jdk1.6.0\bin
        > >
        > > this is where the javadoc.exe resides and is what appears to be whatr ant
        > > is complaining about.
        > >
        > > However, related to this, if you've already setup the projects in Eclipse
        > > you don't have to use the ant build files (these are provided for people not
        > > using Eclipse and by the project's developers for creating releases). In
        > > fact, the java classes generated by calling ant are put in a different
        > > location than the Eclipse project does and uses, so you can skip using Ant I
        > > think.
        > >
        > > As regards running programs, you've a couple of options here. Firstly, run
        > > any of 600+ unit tests. You can run them all from within eclipse by running
        > > this consolidated unit test:
        > >
        > > aima.test.core.unit.AllAIMAUnitTestSuite
        > >
        > > which you'll find under the src/test/java folder. Have a look here for more
        > > details on JUnit: http://www.junit.org/
        > >
        > > For programs, you'll need to look in the aima-gui project, which has GUIs
        > > and command line demos that you can run, e.g.:
        > >
        > > aima.gui.demo.search.EightPuzzleDemo
        > >
        > > just ensure the .java you open has a:
        > >
        > > public static void main(String[] args) {
        > >
        > > method in it in order to be able to run it as an application from within
        > > Eclipse. These can also all be from from our Java Web Start applications,
        > > which you can get to from the main project website.
        > >
        > > Note, ReflexVacuumAgent, is not a program (no main()) or a unit test, so
        > > you'll need to identify a unit test that uses it or a demo program that
        > > does. This is easily done in Eclipse after you've compiled all the projects
        > > by:
        > >
        > > 1. Open the .java file containing the class of interest in the Eclipse
        > > editor.
        > >
        > > 2. Double click on the name of the class so its marked as selected.
        > >
        > > 3. Right click and bring up the context sensitive menu.
        > >
        > > 4. Select 'References->Workspace'
        > >
        > > For ReflexCacuumAgent you should see that its used in the
        > >
        > > ReflexVacuumAgentTest
        > >
        > > I hope this helps, Happy New Year,
        > >
        > > Best
        > >
        > > Ciaran
        > >
        > > P.S. I'm going to enter an issue on the project website to set yp some wiki
        > > pages with instructions on how to setup your workspace to use the AIMA-Java
        > > projects.
        > >
        > >
        > > --- In aima-talk@yahoogroups.com <aima-talk%40yahoogroups.com>, en9apr@
        > > wrote:
        > > >
        > > > Hi Ciaran,
        > > >
        > > > Thanks for your advice. I did what you said, installed and selected JDK
        > > 1.6 and imported all three projects. I then cleaned all the projects and
        > > tried to build each project. aima-gui and aimax-osm were successfully built,
        > > but aima-core did not build successfully. The message I got was as follows:
        > > >
        > > > ------
        > > >
        > > > Buildfile: D:\AI\AIMA\aima-core\build.xml
        > > > aima-core.clean:
        > > > [delete] Deleting directory D:\AI\AIMA\aima-core\build
        > > > aima-core.makedirs:
        > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build
        > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin
        > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin\main
        > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin\test
        > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\doc
        > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\doc\javadoc
        > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\release
        > > > aima-core.compile-all:
        > > > [javac] Compiling 350 source files to D:\AI\AIMA\aima-core\build\bin\main
        > > > [javac] Note: Some input files use unchecked or unsafe operations.
        > > > [javac] Note: Recompile with -Xlint:unchecked for details.
        > > > [javac] Compiling 120 source files to D:\AI\AIMA\aima-core\build\bin\test
        > > > [javac] Note: Some input files use unchecked or unsafe operations.
        > > > [javac] Note: Recompile with -Xlint:unchecked for details.
        > > > aima-core.release:
        > > > [jar] Building jar: D:\AI\AIMA\aima-core\build\release\aima-core.jar
        > > > aima-core.makedocs:
        > > > [javadoc] Generating Javadoc
        > > > [javadoc] Javadoc execution
        > > >
        > > > BUILD FAILED
        > > > D:\AI\AIMA\aima-core\build.xml:69: Javadoc failed: java.io.IOException:
        > > Cannot run program "javadoc.exe": CreateProcess error=2, The system cannot
        > > find the file specified
        > > >
        > > > Total time: 5 seconds
        > > >
        > > > ------
        > > >
        > > > Sorry to bother you again,
        > > >
        > > > P.S. How do I run each program, say ReflexVacuumAgent.java in eclipse?
        > > >
        > > > Thanks,
        > > >
        > > > Andrew
        > > >
        > > > --- In aima-talk@yahoogroups.com <aima-talk%40yahoogroups.com>,
        > > "naraic_oreilly" <naraic_oreilly@> wrote:
        > > > >
        > > > >
        > > > >
        > > > >
        > > > >
        > > > >
        > > > > Hi Andrew,
        > > > >
        > > > > It appears your JAVA_HOME is pointing to a Java Runtime Environment
        > > (JRE) and not a Java Development Kit (JDK), which is required to compile
        > > Java source files. You can download the latest JDK from:
        > > > >
        > > > > http://www.oracle.com/technetwork/java/javase/downloads/index.html
        > > > >
        > > > > However, as you are using Eclipse the AIMA-Java download includes
        > > default eclipse projects that you can import into your own workspace. You
        > > can do this in the following manner:
        > > > >
        > > > > 1. Select 'File->Import...'
        > > > >
        > > > > 2. Select 'General' then 'Existing Projects into Eclipse'.
        > > > >
        > > > > 3. Hit the 'Next >' button.
        > > > >
        > > > > 4. Populate the 'Select root directory:' with the location of the
        > > project you want to import, for e.g:
        > > > >
        > > > > C:\Temp\AIMA\aima-core
        > > > >
        > > > > Note: The projects need to be imported in the following order -
        > > aima-core, aima-gui, and aimax-osm (you do not require the aima-all project
        > > as that is used for creating releases).
        > > > >
        > > > > 5. Hit the 'Finish' button.
        > > > >
        > > > > 6. You may have to clean and rebuild the project in order to remove any
        > > warnings etc... you may get on the initial import.
        > > > >
        > > > > For this to work as with using Ant ensure Eclipse is pointing to a JDK
        > > as well. On windows you can check this by opening the menu
        > > 'Window->Preferences' and selected 'Java' followed by 'Installed JREs' and
        > > ensure a 1.6 JDK is registered and selected.
        > > > >
        > > > > I hope this helps.
        > > > >
        > > > > Best
        > > > >
        > > > > Ciaran
        > > > >
        > > > >
        > > > >
        > > > >
        > > > > --- In aima-talk@yahoogroups.com <aima-talk%40yahoogroups.com>,
        > > "en9apr" <en9apr@> wrote:
        > > > > >
        > > > > > Hi,
        > > > > >
        > > > > > I am using eclipse with the JAVA code downloaded from:
        > > > > >
        > > > > > http://code.google.com/p/aima-java/downloads/list
        > > > > >
        > > > > > I created a new project in eclipse, loaded the file "build.xml" and
        > > then ran ant build.
        > > > > >
        > > > > > I got the following message:
        > > > > >
        > > > > > BUILD FAILED
        > > > > >
        > > C:\Users\Owner\Documents\Downloads\aima-java-1.4.0-OSM-Redesign\aima-core\build.xml:43:
        > > Unable to find a javac compiler;
        > > > > > com.sun.tools.javac.Main is not on the classpath.
        > > > > > Perhaps JAVA_HOME does not point to the JDK.
        > > > > > It is currently set to "C:\Program Files\Java\jre6"
        > > > > >
        > > > > > Does anyone know what I should do?
        > > > > >
        > > > > > Thanks,
        > > > > >
        > > > > > Andrew
        > > > > >
        > > > >
        > > >
        > >
        > >
        > >
        >
      • naraic_oreilly
        H Andrew, Glad to hear things are up and running for you now :-) Based on the discussions on this thread, a new Wiki help page has been setup on the project s
        Message 3 of 7 , Jan 2, 2011
        View Source
        • 0 Attachment
          H Andrew,

          Glad to hear things are up and running for you now :-) Based on the discussions on this thread, a new Wiki help page has been setup on the project's website to provide details on getting started, see:

          http://code.google.com/p/aima-java/wiki/GettingStarted

          Any feedback/comments welcome.

          Best

          Ciaran

          --- In aima-talk@yahoogroups.com, en9apr@... wrote:
          >
          > Hi Ciaran & Bob,
          >
          > Thanks for your help. I can now run the applications.
          >
          > Happy New Year!
          >
          > Andrew
          >
          > --- In aima-talk@yahoogroups.com, Bob Futrelle <bob.futrelle@> wrote:
          > >
          > > Ciaran's comment about setting up a Wiki is an important one. Information
          > > such as he sent in his note below should be as available to as many as
          > > possible, and not confined to the people in the aima-talk group.
          > >
          > > - Bob Futrelle
          > >
          > >
          > > On Fri, Dec 31, 2010 at 3:53 PM, naraic_oreilly
          > > <naraic_oreilly@>wrote:
          > >
          > > >
          > > >
          > > > Hi Andrew,
          > > >
          > > > To resolve the problem you are seeing I would ensure that your Windows PATH
          > > > environment variable contains the directory where your JDK's bin is, e.g.:
          > > >
          > > > C:\Program Files\Java\jdk1.6.0\bin
          > > >
          > > > this is where the javadoc.exe resides and is what appears to be whatr ant
          > > > is complaining about.
          > > >
          > > > However, related to this, if you've already setup the projects in Eclipse
          > > > you don't have to use the ant build files (these are provided for people not
          > > > using Eclipse and by the project's developers for creating releases). In
          > > > fact, the java classes generated by calling ant are put in a different
          > > > location than the Eclipse project does and uses, so you can skip using Ant I
          > > > think.
          > > >
          > > > As regards running programs, you've a couple of options here. Firstly, run
          > > > any of 600+ unit tests. You can run them all from within eclipse by running
          > > > this consolidated unit test:
          > > >
          > > > aima.test.core.unit.AllAIMAUnitTestSuite
          > > >
          > > > which you'll find under the src/test/java folder. Have a look here for more
          > > > details on JUnit: http://www.junit.org/
          > > >
          > > > For programs, you'll need to look in the aima-gui project, which has GUIs
          > > > and command line demos that you can run, e.g.:
          > > >
          > > > aima.gui.demo.search.EightPuzzleDemo
          > > >
          > > > just ensure the .java you open has a:
          > > >
          > > > public static void main(String[] args) {
          > > >
          > > > method in it in order to be able to run it as an application from within
          > > > Eclipse. These can also all be from from our Java Web Start applications,
          > > > which you can get to from the main project website.
          > > >
          > > > Note, ReflexVacuumAgent, is not a program (no main()) or a unit test, so
          > > > you'll need to identify a unit test that uses it or a demo program that
          > > > does. This is easily done in Eclipse after you've compiled all the projects
          > > > by:
          > > >
          > > > 1. Open the .java file containing the class of interest in the Eclipse
          > > > editor.
          > > >
          > > > 2. Double click on the name of the class so its marked as selected.
          > > >
          > > > 3. Right click and bring up the context sensitive menu.
          > > >
          > > > 4. Select 'References->Workspace'
          > > >
          > > > For ReflexCacuumAgent you should see that its used in the
          > > >
          > > > ReflexVacuumAgentTest
          > > >
          > > > I hope this helps, Happy New Year,
          > > >
          > > > Best
          > > >
          > > > Ciaran
          > > >
          > > > P.S. I'm going to enter an issue on the project website to set yp some wiki
          > > > pages with instructions on how to setup your workspace to use the AIMA-Java
          > > > projects.
          > > >
          > > >
          > > > --- In aima-talk@yahoogroups.com <aima-talk%40yahoogroups.com>, en9apr@
          > > > wrote:
          > > > >
          > > > > Hi Ciaran,
          > > > >
          > > > > Thanks for your advice. I did what you said, installed and selected JDK
          > > > 1.6 and imported all three projects. I then cleaned all the projects and
          > > > tried to build each project. aima-gui and aimax-osm were successfully built,
          > > > but aima-core did not build successfully. The message I got was as follows:
          > > > >
          > > > > ------
          > > > >
          > > > > Buildfile: D:\AI\AIMA\aima-core\build.xml
          > > > > aima-core.clean:
          > > > > [delete] Deleting directory D:\AI\AIMA\aima-core\build
          > > > > aima-core.makedirs:
          > > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build
          > > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin
          > > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin\main
          > > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\bin\test
          > > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\doc
          > > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\doc\javadoc
          > > > > [mkdir] Created dir: D:\AI\AIMA\aima-core\build\release
          > > > > aima-core.compile-all:
          > > > > [javac] Compiling 350 source files to D:\AI\AIMA\aima-core\build\bin\main
          > > > > [javac] Note: Some input files use unchecked or unsafe operations.
          > > > > [javac] Note: Recompile with -Xlint:unchecked for details.
          > > > > [javac] Compiling 120 source files to D:\AI\AIMA\aima-core\build\bin\test
          > > > > [javac] Note: Some input files use unchecked or unsafe operations.
          > > > > [javac] Note: Recompile with -Xlint:unchecked for details.
          > > > > aima-core.release:
          > > > > [jar] Building jar: D:\AI\AIMA\aima-core\build\release\aima-core.jar
          > > > > aima-core.makedocs:
          > > > > [javadoc] Generating Javadoc
          > > > > [javadoc] Javadoc execution
          > > > >
          > > > > BUILD FAILED
          > > > > D:\AI\AIMA\aima-core\build.xml:69: Javadoc failed: java.io.IOException:
          > > > Cannot run program "javadoc.exe": CreateProcess error=2, The system cannot
          > > > find the file specified
          > > > >
          > > > > Total time: 5 seconds
          > > > >
          > > > > ------
          > > > >
          > > > > Sorry to bother you again,
          > > > >
          > > > > P.S. How do I run each program, say ReflexVacuumAgent.java in eclipse?
          > > > >
          > > > > Thanks,
          > > > >
          > > > > Andrew
          > > > >
          > > > > --- In aima-talk@yahoogroups.com <aima-talk%40yahoogroups.com>,
          > > > "naraic_oreilly" <naraic_oreilly@> wrote:
          > > > > >
          > > > > >
          > > > > >
          > > > > >
          > > > > >
          > > > > >
          > > > > > Hi Andrew,
          > > > > >
          > > > > > It appears your JAVA_HOME is pointing to a Java Runtime Environment
          > > > (JRE) and not a Java Development Kit (JDK), which is required to compile
          > > > Java source files. You can download the latest JDK from:
          > > > > >
          > > > > > http://www.oracle.com/technetwork/java/javase/downloads/index.html
          > > > > >
          > > > > > However, as you are using Eclipse the AIMA-Java download includes
          > > > default eclipse projects that you can import into your own workspace. You
          > > > can do this in the following manner:
          > > > > >
          > > > > > 1. Select 'File->Import...'
          > > > > >
          > > > > > 2. Select 'General' then 'Existing Projects into Eclipse'.
          > > > > >
          > > > > > 3. Hit the 'Next >' button.
          > > > > >
          > > > > > 4. Populate the 'Select root directory:' with the location of the
          > > > project you want to import, for e.g:
          > > > > >
          > > > > > C:\Temp\AIMA\aima-core
          > > > > >
          > > > > > Note: The projects need to be imported in the following order -
          > > > aima-core, aima-gui, and aimax-osm (you do not require the aima-all project
          > > > as that is used for creating releases).
          > > > > >
          > > > > > 5. Hit the 'Finish' button.
          > > > > >
          > > > > > 6. You may have to clean and rebuild the project in order to remove any
          > > > warnings etc... you may get on the initial import.
          > > > > >
          > > > > > For this to work as with using Ant ensure Eclipse is pointing to a JDK
          > > > as well. On windows you can check this by opening the menu
          > > > 'Window->Preferences' and selected 'Java' followed by 'Installed JREs' and
          > > > ensure a 1.6 JDK is registered and selected.
          > > > > >
          > > > > > I hope this helps.
          > > > > >
          > > > > > Best
          > > > > >
          > > > > > Ciaran
          > > > > >
          > > > > >
          > > > > >
          > > > > >
          > > > > > --- In aima-talk@yahoogroups.com <aima-talk%40yahoogroups.com>,
          > > > "en9apr" <en9apr@> wrote:
          > > > > > >
          > > > > > > Hi,
          > > > > > >
          > > > > > > I am using eclipse with the JAVA code downloaded from:
          > > > > > >
          > > > > > > http://code.google.com/p/aima-java/downloads/list
          > > > > > >
          > > > > > > I created a new project in eclipse, loaded the file "build.xml" and
          > > > then ran ant build.
          > > > > > >
          > > > > > > I got the following message:
          > > > > > >
          > > > > > > BUILD FAILED
          > > > > > >
          > > > C:\Users\Owner\Documents\Downloads\aima-java-1.4.0-OSM-Redesign\aima-core\build.xml:43:
          > > > Unable to find a javac compiler;
          > > > > > > com.sun.tools.javac.Main is not on the classpath.
          > > > > > > Perhaps JAVA_HOME does not point to the JDK.
          > > > > > > It is currently set to "C:\Program Files\Java\jre6"
          > > > > > >
          > > > > > > Does anyone know what I should do?
          > > > > > >
          > > > > > > Thanks,
          > > > > > >
          > > > > > > Andrew
          > > > > > >
          > > > > >
          > > > >
          > > >
          > > >
          > > >
          > >
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.