Antscript failure

Hi



I've just downloaded jme and tried to get it up and working but when i come to the step with the ant build i faced some problems.

When I tried to run the antscript i got the following error:



Buildfile: C:Documents and SettingsKristian Sylwanderworkspacejmebuild.xml

Overriding previous definition of reference to classpath

init:

    [echo] jmeKeyStore

compile:

    [javac] Compiling 1510 source files to C:Documents and SettingsKristian Sylwanderworkspacejmebuild



BUILD FAILED

C:Documents and SettingsKristian Sylwanderworkspacejmebuild.xml:53: Error running javac.exe compiler



Total time: 1 second



And this problem refers to:



<javac source="1.5" target="1.5"

      srcdir="${src}/com"

      destdir="${class}"

      classpathref="classpath"

  listfiles="no"

              fork="true"

              memoryMaximumSize="256m"

        />



in the build file.



can anyone help me please??

the error means that ant couldn't find the java compiler. make sure you have the JDK installed (not the jre) and that the PATH environment variable contains the path to it(JDK/bin).

before running ant again type javac and hit enter to test if javac can be found.

Yeah, i've checked the javac compiler and it works, but i still get the same error message and I don't know why  :frowning:

well, the error comes from ant not being able to find/start javac, so that's where you have to dig.

try running ant with the  -v option

thx…i've got it up an running now…merci beacoup  :slight_smile:

you're welcome. so what was it? :stuck_out_tongue:

Just a stupid misstake :D, the PATH url were just wrong…hehe…embarrassing