Re: Lemya build error - Cacoon - compile-build.xml

Richard Frovarp <[email protected]> Wed, 25 Jan 2012 10:57:00 -0600
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
On 01/24/2012 08:29 PM, chaitu wrote:
> Iam very new to lenya and trying to install lenya in unix tomcat 7.0 and jdk 6
> env. Iam getting the below error
> I know the related jar file is rt.jar of jdk but where should i place the jar
> file for linya build classpath. Please help me
> /usr/share/apache-lenya-
> 2.0.4/externals/cocoon_2_1_x/src/java/org/apache/cocoon/reading/ImageReader.jav
> a:39: error: package com.sun.image.codec.jpeg does not exist
> import com.sun.image.codec.jpeg.ImageFormatException;
>                                 ^
>

You shouldn't have to touch rt.jar. That will be included by default by 
your JVM.

Which JVM are you using? My guess would be that you're using one from 
someone other than Sun/Oracle/OpenJDK.