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.

-- Andreas



--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to