Ant build problems

Hi, I'm having problems with building the jME project :frowning: I use Eclipse and java 1.6.0_05-b13… All the examples works, and I have no build errors… Here is the error message:



Buildfile: C:UsersThomasNewJavajmebuild.xml
init:
     [echo] jmeKeyStore
    [mkdir] Created dir: C:UsersThomasNewJavajmebuild
    [mkdir] Created dir: C:UsersThomasNewJavajmedatadoc
compile:
    [mkdir] Created dir: C:UsersThomasNewJavajmebuildcom
     [copy] Copying 28 files to C:UsersThomasNewJavajmebuildcom
     [copy] Copied 104 empty directories to 76 empty directories under C:UsersThomasNewJavajmebuildcom
    [javac] Compiling 1389 source files to C:UsersThomasNewJavajmebuild

BUILD FAILED
C:UsersThomasNewJavajmebuild.xml:46: Error running javac.exe compiler

Total time: 1 second



I used target dist-all... I assume that is correct?
Line 46 in build.xml:  <javac source="1.5" target="1.5" srcdir="${src}/com" destdir="${class}" classpathref="classpath" listfiles="no" fork="true" memoryMaximumSize="256m" />

Is this a java-version problem?!

Ahh… figured it out… Had to use a jdk…  :smiley:

Hi!



I have the same problem you had, but i cant solve it.

As VM I am using jre1.6.0_07 <-- do i have to change that?


As thotved says, you'll need a JDK - a JRE won't be enough.

The fact that you don't seem to have a jdk already indicates that you haven't done any java development on your own before.

If this is the case, jME with it's native libraries and refercences to mutable data structures where an inexperienced java developer won't expect them will likely be too much at once, and you are much better advised starting with some basic java tutorials, slowly working your way up to more complex java development before you start with jME.