Jörn Nettingsmeier wrote:
Andreas Hartmann wrote:
Hi Maria Jesus,

Maria Jesus Turiel schrieb:
I'm trying to compile apache lenya in java 1.6, but when I change
parameter in local.build.properties 'parametro src.java.version=1.5' to
'parametro src.java.version=1.6' i get the next error in build:

.....
to /home/maje/apps/apache-lenya-2.0.2/build/lenya/api javac: source
release 1.6 requires target release 1.6
it looks like you have to set the parameter for the target release as
well. IIRC the parameter name is "target.vm". If this doesn't work, you
have to take a look at the build files in src/targets.

Apart from that, there were some reports about issues with Java 1.6. I'd
recommend to use 1.4.2 or 1.5 instead.

fwiw, i succeeded with java 1.6.0, but it has to be the sun version, not
openjdk, otherwise some cocoon component will barf due to a bug in the
openjdk. the target i used is 1.5, though. haven't tried with 1.6 yet.



I've been running against Sun's 1.6 for quite a while with Lenya 2.0.x. But I left the target at 1.4, as I really didn't feel like figuring out everywhere it needed to be changed.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lenya.apache.org
For additional commands, e-mail: dev-h...@lenya.apache.org

Reply via email to