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.



-- 
Jörn Nettingsmeier

Verantwortlicher für Veranstaltungstechnik

Audio and event engineer
Ambisonic surround recordings

[email protected]
+49 177 7937487

As for our common defense, we reject as false the choice between
our safety and our ideals. - Barack Hussein Obama

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

Reply via email to