You can run "ant -v", and around line 3 of the output will tell you what
JDK you are running with. The output will also show if your compilation
targets invoke a non-default compiler (unlikely, as you are using
autogenerated ant scripts)
Michael Stumpf wrote:
> I'm not sure that this is the proble
I'm not sure that this is the problem, though I have to admit it
certainly looks like it (I am new to Java). One of the boxes in
question had no version of Java at all save the one I installed
(1.5.0_04), and when I run "ant --execdebug":
exec "/opt/jdk1.5.0_04/bin/java" -classpath
"/opt/apa
You're using Java 5 APIs and language features, but on your Linux boxes
you only have JDK 1.4 installed. You need to install JDK 1.5 on all
machines you're building on.
Daniel
Michael Stumpf wrote:
> I'm using NetBeans to manage a few Java projects. Recently I found a
> need to build manually wi
I'm using NetBeans to manage a few Java projects. Recently I found a
need to build manually with the command line (read: scriptable) ant, and
I found that one of the three projects would sometimes fail.
On the NetBeans machine (windows + cygwin), the ant build works fine.
The same directory