Hi,

I put the 'target.vm' like Andreas advise me and it works (now I have
other problem with the utf8 but i hope solve it)

I know that te 1.6 is not suggested for lenya yet, but I need to try it
with this version because I have a problem with the conections, a lot of
them remains eternal in state CLOSE_WAIT

The fact is that if I put the jdk 1.6 (Sun jdk) although with the
parameter 1.5 in my local.build.properties and now the conections close
right

I don't know if it's logic or no... 


El mié, 25-02-2009 a las 12:42 -0600, Richard Frovarp escribió:
> 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
> 
-- 
María Jesús Turiel Martínez
Dpto. Desarrollo
Silice Tecnología y Servicios
Empresa Certificada ITMark
Telf. 902 888 264


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

Reply via email to