You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Jeffry Houser <je...@dot-com-it.com> on 2012/07/14 16:59:47 UTC
Package com.sun.image.* not Found when building Flex Source RC3
I'm still unable to build the Apache Flex SDK; and I'm guessing it is
a configuration issue on my own machine; but I'm at a loss on what to
look at next.
I downloaded the RC3. ( The zip file from here:
http://people.apache.org/~cframpton/ApacheFlexRC/release_candidate_3/ ).
I'm using Windows 7 64 bit. I installed most of the pre-requisites
from scratch including ANT and Cygwin and all the Adobe stuff. Cygwin is
not something I used before, but it looked like a "package manager" type
of thing similar to the Android SDK. I kept all default settings for the
install. Aside from installing Cygwin, I'm not explicitly referencing
it or using it [as far as I know].
I already had Java JDK installed. I believe 1.7.0.03; as the
directory is 'jdk1.7.0_03' .
The ReadMe talks about "Building the Framework in a Binary
Distribution" and "Building the Source in the Source Distribution" and
I'll admit I was confused about the difference. I now see that their
are different file names / directory location for the binary
distribution vs the source distribution. Will a clueless person realize
which version they downloaded? Should we mention in the release notes
or readme which version was downloaded?
I had grabbed a source distribution and was following those
instructions for building [purely by accident].
I couldn't find a formal error log file; but the errors still visible
in the console are below. It appears it cannot find certain imports
referenced by certain classes. That makes me wonder if either my JDK
version is in error, or I have a path problem with the JDK.
I have both a 64 bit and 32 bit version of the JDK and started with my
path/JAVA_HOME variables referencing the 32 bit version. When that
wasn't working I switched the path/JAVA_HOME variables to the 64 bit
version. Both gave identical errors.
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_03\ ( 64 bit SDK )
ANT_HOME: C:\Program Files (x86)\Apache Software
Foundation\apache-ant-1.8.4
path: [other stuff removed];C:\Program Files (x86)\Apache Software
Foundation\apache-ant-1.8.4\bin;C:\Program Files (x86)\Apache Software
Foundation\apache-ant-1.8.4;C:\Program Files\Java\jdk1.7.0_03\\bin\
Any ideas what I've done wrong?
svggen\ImageHandlerJPEGEncoder.java:28: error: package
com.sun.image.codec.jpeg
does not exist
[javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
svggen\ImageHandlerJPEGEncoder.java:29: error: package
com.sun.image.codec.jpeg
does not exist
[javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:30: error: package
com.sun.image.codec.jpeg
does not exist
[javac] import com.sun.image.codec.jpeg.JPEGCodec;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:31: error: package
com.sun.image.codec.jpeg
does not exist
[javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:32: error: package
com.sun.image.codec.jpeg
does not exist
[javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFEncodeParam.java:306: error: cannot find symbol
[javac] jpegEncodeParam =
(JPEGEncodeParam)jpegEncodeParam.clone
();
[javac] ^
[javac] symbol: class JPEGEncodeParam
[javac] location: class TIFFEncodeParam
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImage.java:144: error: cannot find symbol
[javac] JPEGImageDecoder decoder = decodeParam == null ?
[javac] ^
[javac] symbol: class JPEGImageDecoder
[javac] location: class TIFFImage
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImage.java:145: error: cannot find symbol
[javac] JPEGCodec.createJPEGDecoder(jpegStream) :
[javac] ^
[javac] symbol: variable JPEGCodec
[javac] location: class TIFFImage
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImage.java:146: error: cannot find symbol
[javac] JPEGCodec.createJPEGDecoder(jpegStream,
[javac] ^
[javac] symbol: variable JPEGCodec
[javac] location: class TIFFImage
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImage.java:586: error: cannot find symbol
[javac] JPEGImageDecoder decoder =
[javac] ^
[javac] symbol: class JPEGImageDecoder
[javac] location: class TIFFImage
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImage.java:587: error: cannot find symbol
[javac] JPEGCodec.createJPEGDecoder(tableStream);
[javac] ^
[javac] symbol: variable JPEGCodec
[javac] location: class TIFFImage
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:402: error: cannot find
symbol
[javac] JPEGEncodeParam jep = null;
[javac] ^
[javac] symbol: class JPEGEncodeParam
[javac] location: class TIFFImageEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:594: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGEncodeParam
jpegEncodeParam = n
ull;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:595: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGImageEncoder
jpegEncoder = null
;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:602: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_ID_UN
KNOWN;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:607: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_I
D_GRAY;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:611: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_I
D_RGB;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:615: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_I
D_YCbCr;
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:622: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGCodec.getDefaultJPEGEnc
odeParam(
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:633: error: package
com.sun.image
.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGCodec.createJPEGEncoder(
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:656: error: inconvertible
types
[javac] subsampleH =
(char)jep.getHorizontalSubsampling(0);
[javac] ^
[javac] required: char
[javac] found: getHorizontalSubsampling
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:657: error: inconvertible
types
[javac] subsampleV =
(char)jep.getVerticalSubsampling(0);
[javac] ^
[javac] required: char
[javac] found: getVerticalSubsampling
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:659: error: inconvertible
types
[javac] char subH =
(char)jep.getHorizontalSubsampling(i
);
[javac] ^
[javac] required: char
[javac] found: getHorizontalSubsampling
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:663: error: inconvertible
types
[javac] char subV =
(char)jep.getVerticalSubsampling(i);
[javac] ^
[javac] required: char
[javac] found: getVerticalSubsampling
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:1113: error: package
com.sun.imag
e.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGCodec.
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:1120: error: package
com.sun.imag
e.codec.jpeg does not exist
[javac] com.sun.image.codec.jpeg.JPEGCodec.
[javac] ^
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\codec\tiff\TIFFImageEncoder.java:1707: error: cannot find
symbol
[javac] JPEGQTable tbl = src.getQTable(i);
[javac] ^
[javac] symbol: class JPEGQTable
[javac] location: class TIFFImageEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\spi\JPEGRegistryEntry.java:84: error: cannot find symbol
[javac] JPEGImageDecoder decoder;
[javac] ^
[javac] symbol: class JPEGImageDecoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\spi\JPEGRegistryEntry.java:85: error: cannot find symbol
[javac] decoder =
JPEGCodec.createJPEGDecoder(is);
[javac] ^
[javac] symbol: variable JPEGCodec
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
ext\awt\image\spi\JPEGRegistryEntry.java:89: error: cannot find symbol
[javac] } catch (TruncatedFileException tfe) {
[javac] ^
[javac] symbol: class TruncatedFileException
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
svggen\CachedImageHandlerJPEGEncoder.java:60: error: cannot find symbol
[javac] JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(os);
[javac] ^
[javac] symbol: class JPEGImageEncoder
[javac] location: class CachedImageHandlerJPEGEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
svggen\CachedImageHandlerJPEGEncoder.java:60: error: cannot find symbol
[javac] JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(os);
[javac] ^
[javac] symbol: variable JPEGCodec
[javac] location: class CachedImageHandlerJPEGEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
svggen\CachedImageHandlerJPEGEncoder.java:61: error: cannot find symbol
[javac] JPEGEncodeParam param =
encoder.getDefaultJPEGEncodeParam(bu
f);
[javac] ^
[javac] symbol: class JPEGEncodeParam
[javac] location: class CachedImageHandlerJPEGEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
svggen\ImageHandlerJPEGEncoder.java:80: error: cannot find symbol
[javac] JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(o
s);
[javac] ^
[javac] symbol: class JPEGImageEncoder
[javac] location: class ImageHandlerJPEGEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
svggen\ImageHandlerJPEGEncoder.java:80: error: cannot find symbol
[javac] JPEGImageEncoder encoder =
JPEGCodec.createJPEGEncoder(o
s);
[javac] ^
[javac] symbol: variable JPEGCodec
[javac] location: class ImageHandlerJPEGEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
svggen\ImageHandlerJPEGEncoder.java:81: error: cannot find symbol
[javac] JPEGEncodeParam param =
encoder.getDefaultJPEGEncodePara
m(buf);
[javac] ^
[javac] symbol: class JPEGEncodeParam
[javac] location: class ImageHandlerJPEGEncoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:89: error: cannot find symbol
[javac] JPEGImageEncoder jpegEncoder;
[javac] ^
[javac] symbol: class JPEGImageEncoder
[javac] location: class JPEGTranscoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:90: error: cannot find symbol
[javac] JPEGEncodeParam params;
[javac] ^
[javac] symbol: class JPEGEncodeParam
[javac] location: class JPEGTranscoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:91: error: cannot find symbol
[javac] jpegEncoder = JPEGCodec.createJPEGEncoder(ostream);
[javac] ^
[javac] symbol: variable JPEGCodec
[javac] location: class JPEGTranscoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:92: error: cannot find symbol
[javac] params =
JPEGCodec.getDefaultJPEGEncodeParam(img);
[javac] ^
[javac] symbol: variable JPEGCodec
[javac] location: class JPEGTranscoder
[javac]
C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
transcoder\image\JPEGTranscoder.java:97: error: cannot find symbol
[javac] params.setDensityUnit(JPEGEncodeParam.DENSITY_UNIT_DOTS_
INCH);
[javac] ^
[javac] symbol: variable JPEGEncodeParam
[javac] location: class JPEGTranscoder
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 61 errors
--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Christophe Herreman <ch...@gmail.com>.
There is a patch in Jira that I submitted to build the SDK with Java 7. If
you have some spare minutes, it would be good to know if the patch works
for you.
Regards,
Christophe
Op 14 jul. 2012 17:42 schreef "Dave Fisher" <da...@comcast.net> het
volgende:
>
> On Jul 14, 2012, at 8:29 AM, Jeffry Houser wrote:
>
> > On 7/14/2012 11:28 AM, Clint Modien wrote:
> >> need to build with jdk ver 1.6
> >
> > I'll try that; but if that is the case I misunderstood the release notes:
> >
> > Java SDK 1.5 (0_13 or greater)
> > or Java SDK 1.6 (*1)
> >
> > I assumed that 1.7 was greater than 1.5 and therefore it should work.
> Was that an incorrect assumption?
>
> Oracle removed the support for those classes in 1.7.
>
> > [javac]
> C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> >
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> > svggen\ImageHandlerJPEGEncoder.java:29: error: package
> com.sun.image.codec.jpeg
> > does not exist
> > [javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
> > [javac] ^
>
>
> The Batik project is working on removing use of com.sun packages.
>
> See:
> http://batik.2283329.n4.nabble.com/Batik-and-Java-7-non-compliancy-td4221375.html
>
> Anyway this is an example about why it is best to try to contribute
> upstream and use the unaltered project code if possible.
>
> The replacement ImageIO classes are fine except for CMYK-JPEG problems.
> This is something to address, but it should not be a blocker.
>
> The project should note somewhere on the DL page that there are build
> issues with Java 7 and what those are, but it is not a release blocker -
> IMO.
>
> Regards,
> Dave
>
>
> >
> > --
> > Jeffry Houser
> > Technical Entrepreneur
> > 203-379-0773
> > --
> > http://www.flextras.com?c=104
> > UI Flex Components: Tested! Supported! Ready!
> > --
> > http://www.theflexshow.com
> > http://www.jeffryhouser.com
> > http://www.asktheflexpert.com
> > --
> > Part of the DotComIt Brain Trust
> >
>
>
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Dave Fisher <da...@comcast.net>.
On Jul 14, 2012, at 8:55 AM, Jeffry Houser wrote:
> On 7/14/2012 11:41 AM, Dave Fisher wrote:
>> Anyway this is an example about why it is best to try to contribute upstream and use the unaltered project code if possible.
> I have to admit I am not sure if this sentence is directed at me, at Flex, or at Batik.
It is directed at Flex. This project should spend some effort to avoid have special patches of other projects. At a minimum there should be an effort to take in Batik's efforts to be 1.7 compatible. You may have noticed some warnings related to 1.5 vs. 1.4 with some enums in either Velocity or Batik.
I am pretty sure that this removed com.sun codec issue is a problem for projects besides Batik. I think it is also a case within Apache PDFBox, but I have to ask one of my developers about it.
>
>> The project should note somewhere on the DL page that there are build issues with Java 7 and what those are, but it is not a release blocker - IMO.
> I might recommend adding this to the readme file. I'm still under the belief that my interpretation that 1.7 meets the "1.5.0_13 or higher" requirement is not an unusual interpretation.
Agreed, and others are discussing this aspect.
Regards,
Dave
>
>
> --
> Jeffry Houser
> Technical Entrepreneur
> 203-379-0773
> --
> http://www.flextras.com?c=104
> UI Flex Components: Tested! Supported! Ready!
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> http://www.asktheflexpert.com
> --
> Part of the DotComIt Brain Trust
>
RE: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Glenn Williams <in...@tinylion.co.uk>.
The 1.5 or higher caught me too. I had 1.7 and then just tried 1.5 just in
case, and it then worked. I meant to mention this but forgot.
I read 1.5 or higher as to include 1.7
Sorry if the readme has already changed
-----Original Message-----
From: Nicholas Kwiatkowski [mailto:nicholas@spoon.as]
Sent: 14 July 2012 17:32
To: flex-dev@incubator.apache.org; jeffry@dot-com-it.com
Subject: Re: Package com.sun.image.* not Found when building Flex Source RC3
Jeffry,
Where are you seeing that it simply says 1.5.0_13 or higher is required?
The README clearly says 1.5 or 1.6. We will want to make sure that gets
corrected for others.
Cygwin is a toolset that allows you to use certain unix/linux tools, such as
bash, on Windows. It does come with a package-manager of sorts, but that is
not the main project. I believe the only things you really need are unzip,
bash and find. (Carroll, correct me if I'm wrong at that).
We have had reports of some libraries not compiling correctly on 64-bit
Java. See if you can test with the 32-bit first. I know it works on my
end.
-Nick Kwiatkowski
On Sat, Jul 14, 2012 at 11:55 AM, Jeffry Houser
<je...@dot-com-it.com>wrote:
> On 7/14/2012 11:41 AM, Dave Fisher wrote:
>
>> Anyway this is an example about why it is best to try to contribute
>> upstream and use the unaltered project code if possible.
>>
> I have to admit I am not sure if this sentence is directed at me, at
> Flex, or at Batik.
>
>
> The project should note somewhere on the DL page that there are build
>> issues with Java 7 and what those are, but it is not a release
>> blocker - IMO.
>>
> I might recommend adding this to the readme file. I'm still under
> the belief that my interpretation that 1.7 meets the "1.5.0_13 or higher"
> requirement is not an unusual interpretation.
>
>
>
> --
> Jeffry Houser
> Technical Entrepreneur
> 203-379-0773
> --
> http://www.flextras.com?c=104
> UI Flex Components: Tested! Supported! Ready!
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> http://www.asktheflexpert.com
> --
> Part of the DotComIt Brain Trust
>
>
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Igor Costa <ig...@gmail.com>.
Jeffry I used the patch of Christophe to build up on 1.7
The SDK by default is suitable to JRE 1.5.4+ or better 1.6.1 without any
patch.
Regards
----------------------------
Igor Costa
www.igorcosta.com
www.igorcosta.org
On Mon, Jul 16, 2012 at 11:15 AM, Carol Frampton <cf...@adobe.com> wrote:
>
>
> On 7/14/12 1 :00PM, "Jeffry Houser" <je...@dot-com-it.com> wrote:
>
> >On 7/14/2012 12:32 PM, Nicholas Kwiatkowski wrote:
> >> Jeffry,
> >>
> >> Where are you seeing that it simply says 1.5.0_13 or higher is
> >> required? The README clearly says 1.5 or 1.6. We will want to make
> >> sure that gets corrected for others.
> >
> > The only place I see version numbers mentioned in the readme is in the
> >environment variables grid under Install Prerequisites.
> >
> > To quote:
> >
> > Java SDK 1.5 (0_13 or greater)
> > or Java SDK 1.6 (*1)
>
> I think this is old wording which I unfortunately didn't improve - maybe
> because I parsed it differently or maybe because I've looked at this stuff
> so many times I don't even see it. Because it just mentioned the revision
> number I think that was meant to imply the revision could be >= 13. If I
> originally wrote this I would have written 1.5.13 or greater if I meant
> any later version and I would not have included "or Java SDK 1.6".
>
> Trying to use Java 1.7 is very common mistake. And yes, we need to get
> rid of our forks of batik and velocity if at all possible. There is also
> an xerces patch as well but it hasn't been as problematic.
>
> Carol
>
>
> >
> > I think I asked this before, but it is wrong for me to assume that
> >Java SDK 1.7.something is not greater than Java SDK 1.5.something ?
> >
> >--
> >Jeffry Houser
> >Technical Entrepreneur
> >203-379-0773
> >--
> >http://www.flextras.com?c=104
> >UI Flex Components: Tested! Supported! Ready!
> >--
> >http://www.theflexshow.com
> >http://www.jeffryhouser.com
> >http://www.asktheflexpert.com
> >--
> >Part of the DotComIt Brain Trust
> >
>
>
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Carol Frampton <cf...@adobe.com>.
On 7/14/12 1 :00PM, "Jeffry Houser" <je...@dot-com-it.com> wrote:
>On 7/14/2012 12:32 PM, Nicholas Kwiatkowski wrote:
>> Jeffry,
>>
>> Where are you seeing that it simply says 1.5.0_13 or higher is
>> required? The README clearly says 1.5 or 1.6. We will want to make
>> sure that gets corrected for others.
>
> The only place I see version numbers mentioned in the readme is in the
>environment variables grid under Install Prerequisites.
>
> To quote:
>
> Java SDK 1.5 (0_13 or greater)
> or Java SDK 1.6 (*1)
I think this is old wording which I unfortunately didn't improve - maybe
because I parsed it differently or maybe because I've looked at this stuff
so many times I don't even see it. Because it just mentioned the revision
number I think that was meant to imply the revision could be >= 13. If I
originally wrote this I would have written 1.5.13 or greater if I meant
any later version and I would not have included "or Java SDK 1.6".
Trying to use Java 1.7 is very common mistake. And yes, we need to get
rid of our forks of batik and velocity if at all possible. There is also
an xerces patch as well but it hasn't been as problematic.
Carol
>
> I think I asked this before, but it is wrong for me to assume that
>Java SDK 1.7.something is not greater than Java SDK 1.5.something ?
>
>--
>Jeffry Houser
>Technical Entrepreneur
>203-379-0773
>--
>http://www.flextras.com?c=104
>UI Flex Components: Tested! Supported! Ready!
>--
>http://www.theflexshow.com
>http://www.jeffryhouser.com
>http://www.asktheflexpert.com
>--
>Part of the DotComIt Brain Trust
>
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Jeffry Houser <je...@dot-com-it.com>.
On 7/14/2012 12:32 PM, Nicholas Kwiatkowski wrote:
> Jeffry,
>
> Where are you seeing that it simply says 1.5.0_13 or higher is
> required? The README clearly says 1.5 or 1.6. We will want to make
> sure that gets corrected for others.
The only place I see version numbers mentioned in the readme is in the
environment variables grid under Install Prerequisites.
To quote:
Java SDK 1.5 (0_13 or greater)
or Java SDK 1.6 (*1)
I think I asked this before, but it is wrong for me to assume that
Java SDK 1.7.something is not greater than Java SDK 1.5.something ?
--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
Jeffry,
Where are you seeing that it simply says 1.5.0_13 or higher is required?
The README clearly says 1.5 or 1.6. We will want to make sure that gets
corrected for others.
Cygwin is a toolset that allows you to use certain unix/linux tools, such
as bash, on Windows. It does come with a package-manager of sorts, but
that is not the main project. I believe the only things you really need
are unzip, bash and find. (Carroll, correct me if I'm wrong at that).
We have had reports of some libraries not compiling correctly on 64-bit
Java. See if you can test with the 32-bit first. I know it works on my
end.
-Nick Kwiatkowski
On Sat, Jul 14, 2012 at 11:55 AM, Jeffry Houser <je...@dot-com-it.com>wrote:
> On 7/14/2012 11:41 AM, Dave Fisher wrote:
>
>> Anyway this is an example about why it is best to try to contribute
>> upstream and use the unaltered project code if possible.
>>
> I have to admit I am not sure if this sentence is directed at me, at
> Flex, or at Batik.
>
>
> The project should note somewhere on the DL page that there are build
>> issues with Java 7 and what those are, but it is not a release blocker -
>> IMO.
>>
> I might recommend adding this to the readme file. I'm still under the
> belief that my interpretation that 1.7 meets the "1.5.0_13 or higher"
> requirement is not an unusual interpretation.
>
>
>
> --
> Jeffry Houser
> Technical Entrepreneur
> 203-379-0773
> --
> http://www.flextras.com?c=104
> UI Flex Components: Tested! Supported! Ready!
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> http://www.asktheflexpert.com
> --
> Part of the DotComIt Brain Trust
>
>
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
You are not the only one so far. There have been a few people on the
mailing list that have mentioned they had 1.7.
-Nick
On Sat, Jul 14, 2012 at 1:02 PM, Jeffry Houser <je...@dot-com-it.com>wrote:
> On 7/14/2012 11:57 AM, Alex Harui wrote:
>
>>
>>
>> On 7/14/12 8:55 AM, "Jeffry Houser" <je...@dot-com-it.com> wrote:
>>
>> The project should note somewhere on the DL page that there are build
>>>> issues
>>>> with Java 7 and what those are, but it is not a release blocker - IMO.
>>>>
>>> I might recommend adding this to the readme file. I'm still under the
>>> belief that my interpretation that 1.7 meets the "1.5.0_13 or higher"
>>> requirement is not an unusual interpretation.
>>>
>>> The paragraph is attempting to say "any version of 1.5 greater than
>> 0_13 or
>> 1.6". 1.7 is not supported.
>>
>
> Understood [now]. Should we make that more overt and explicitly state
> that 1.7 is not supported? Or am I the only one who is going to make that
> mistake?
>
>
>
> --
> Jeffry Houser
> Technical Entrepreneur
> 203-379-0773
> --
> http://www.flextras.com?c=104
> UI Flex Components: Tested! Supported! Ready!
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> http://www.asktheflexpert.com
> --
> Part of the DotComIt Brain Trust
>
>
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Alex Harui <ah...@adobe.com>.
>> The paragraph is attempting to say "any version of 1.5 greater than 0_13 or
>> 1.6". 1.7 is not supported.
>
> Understood [now]. Should we make that more overt and explicitly state
> that 1.7 is not supported? Or am I the only one who is going to make
> that mistake?
Feel free to change the paragraph. I don't think it is worth re-kitting and
starting the vote all over again, but if something else comes up and forces
a re-kit then it will be there.
We plan to put some release notes on the wiki and can also put it there.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Jeffry Houser <je...@dot-com-it.com>.
On 7/14/2012 11:57 AM, Alex Harui wrote:
>
>
> On 7/14/12 8:55 AM, "Jeffry Houser" <je...@dot-com-it.com> wrote:
>
>>> The project should note somewhere on the DL page that there are build issues
>>> with Java 7 and what those are, but it is not a release blocker - IMO.
>> I might recommend adding this to the readme file. I'm still under the
>> belief that my interpretation that 1.7 meets the "1.5.0_13 or higher"
>> requirement is not an unusual interpretation.
>>
> The paragraph is attempting to say "any version of 1.5 greater than 0_13 or
> 1.6". 1.7 is not supported.
Understood [now]. Should we make that more overt and explicitly state
that 1.7 is not supported? Or am I the only one who is going to make
that mistake?
--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Alex Harui <ah...@adobe.com>.
On 7/14/12 8:55 AM, "Jeffry Houser" <je...@dot-com-it.com> wrote:
>
>> The project should note somewhere on the DL page that there are build issues
>> with Java 7 and what those are, but it is not a release blocker - IMO.
> I might recommend adding this to the readme file. I'm still under the
> belief that my interpretation that 1.7 meets the "1.5.0_13 or higher"
> requirement is not an unusual interpretation.
>
The paragraph is attempting to say "any version of 1.5 greater than 0_13 or
1.6". 1.7 is not supported.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Jeffry Houser <je...@dot-com-it.com>.
On 7/14/2012 11:41 AM, Dave Fisher wrote:
> Anyway this is an example about why it is best to try to contribute upstream and use the unaltered project code if possible.
I have to admit I am not sure if this sentence is directed at me, at
Flex, or at Batik.
> The project should note somewhere on the DL page that there are build issues with Java 7 and what those are, but it is not a release blocker - IMO.
I might recommend adding this to the readme file. I'm still under the
belief that my interpretation that 1.7 meets the "1.5.0_13 or higher"
requirement is not an unusual interpretation.
--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Dave Fisher <da...@comcast.net>.
On Jul 14, 2012, at 8:29 AM, Jeffry Houser wrote:
> On 7/14/2012 11:28 AM, Clint Modien wrote:
>> need to build with jdk ver 1.6
>
> I'll try that; but if that is the case I misunderstood the release notes:
>
> Java SDK 1.5 (0_13 or greater)
> or Java SDK 1.6 (*1)
>
> I assumed that 1.7 was greater than 1.5 and therefore it should work. Was that an incorrect assumption?
Oracle removed the support for those classes in 1.7.
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\ImageHandlerJPEGEncoder.java:29: error: package com.sun.image.codec.jpeg
> does not exist
> [javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
> [javac] ^
The Batik project is working on removing use of com.sun packages.
See: http://batik.2283329.n4.nabble.com/Batik-and-Java-7-non-compliancy-td4221375.html
Anyway this is an example about why it is best to try to contribute upstream and use the unaltered project code if possible.
The replacement ImageIO classes are fine except for CMYK-JPEG problems. This is something to address, but it should not be a blocker.
The project should note somewhere on the DL page that there are build issues with Java 7 and what those are, but it is not a release blocker - IMO.
Regards,
Dave
>
> --
> Jeffry Houser
> Technical Entrepreneur
> 203-379-0773
> --
> http://www.flextras.com?c=104
> UI Flex Components: Tested! Supported! Ready!
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> http://www.asktheflexpert.com
> --
> Part of the DotComIt Brain Trust
>
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Jeffry Houser <je...@dot-com-it.com>.
On 7/14/2012 11:28 AM, Clint Modien wrote:
> need to build with jdk ver 1.6
I'll try that; but if that is the case I misunderstood the release notes:
Java SDK 1.5 (0_13 or greater)
or Java SDK 1.6 (*1)
I assumed that 1.7 was greater than 1.5 and therefore it should work.
Was that an incorrect assumption?
--
Jeffry Houser
Technical Entrepreneur
203-379-0773
--
http://www.flextras.com?c=104
UI Flex Components: Tested! Supported! Ready!
--
http://www.theflexshow.com
http://www.jeffryhouser.com
http://www.asktheflexpert.com
--
Part of the DotComIt Brain Trust
Re: Package com.sun.image.* not Found when building Flex Source RC3
Posted by Clint Modien <cm...@gmail.com>.
need to build with jdk ver 1.6
Sent from my iPhone
On Jul 14, 2012, at 7:59 AM, Jeffry Houser <je...@dot-com-it.com> wrote:
>
> I'm still unable to build the Apache Flex SDK; and I'm guessing it is a configuration issue on my own machine; but I'm at a loss on what to look at next.
>
> I downloaded the RC3. ( The zip file from here: http://people.apache.org/~cframpton/ApacheFlexRC/release_candidate_3/ ).
>
> I'm using Windows 7 64 bit. I installed most of the pre-requisites from scratch including ANT and Cygwin and all the Adobe stuff. Cygwin is not something I used before, but it looked like a "package manager" type of thing similar to the Android SDK. I kept all default settings for the install. Aside from installing Cygwin, I'm not explicitly referencing it or using it [as far as I know].
>
> I already had Java JDK installed. I believe 1.7.0.03; as the directory is 'jdk1.7.0_03' .
>
> The ReadMe talks about "Building the Framework in a Binary Distribution" and "Building the Source in the Source Distribution" and I'll admit I was confused about the difference. I now see that their are different file names / directory location for the binary distribution vs the source distribution. Will a clueless person realize which version they downloaded? Should we mention in the release notes or readme which version was downloaded?
>
> I had grabbed a source distribution and was following those instructions for building [purely by accident].
>
> I couldn't find a formal error log file; but the errors still visible in the console are below. It appears it cannot find certain imports referenced by certain classes. That makes me wonder if either my JDK version is in error, or I have a path problem with the JDK.
>
> I have both a 64 bit and 32 bit version of the JDK and started with my path/JAVA_HOME variables referencing the 32 bit version. When that wasn't working I switched the path/JAVA_HOME variables to the 64 bit version. Both gave identical errors.
>
> JAVA_HOME: C:\Program Files\Java\jdk1.7.0_03\ ( 64 bit SDK )
> ANT_HOME: C:\Program Files (x86)\Apache Software Foundation\apache-ant-1.8.4
> path: [other stuff removed];C:\Program Files (x86)\Apache Software Foundation\apache-ant-1.8.4\bin;C:\Program Files (x86)\Apache Software Foundation\apache-ant-1.8.4;C:\Program Files\Java\jdk1.7.0_03\\bin\
>
> Any ideas what I've done wrong?
>
>
> svggen\ImageHandlerJPEGEncoder.java:28: error: package com.sun.image.codec.jpeg
> does not exist
> [javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\ImageHandlerJPEGEncoder.java:29: error: package com.sun.image.codec.jpeg
> does not exist
> [javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:30: error: package com.sun.image.codec.jpeg
> does not exist
> [javac] import com.sun.image.codec.jpeg.JPEGCodec;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:31: error: package com.sun.image.codec.jpeg
> does not exist
> [javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:32: error: package com.sun.image.codec.jpeg
> does not exist
> [javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFEncodeParam.java:306: error: cannot find symbol
> [javac] jpegEncodeParam = (JPEGEncodeParam)jpegEncodeParam.clone
> ();
> [javac] ^
> [javac] symbol: class JPEGEncodeParam
> [javac] location: class TIFFEncodeParam
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImage.java:144: error: cannot find symbol
> [javac] JPEGImageDecoder decoder = decodeParam == null ?
> [javac] ^
> [javac] symbol: class JPEGImageDecoder
> [javac] location: class TIFFImage
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImage.java:145: error: cannot find symbol
> [javac] JPEGCodec.createJPEGDecoder(jpegStream) :
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] location: class TIFFImage
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImage.java:146: error: cannot find symbol
> [javac] JPEGCodec.createJPEGDecoder(jpegStream,
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] location: class TIFFImage
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImage.java:586: error: cannot find symbol
> [javac] JPEGImageDecoder decoder =
> [javac] ^
> [javac] symbol: class JPEGImageDecoder
> [javac] location: class TIFFImage
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImage.java:587: error: cannot find symbol
> [javac] JPEGCodec.createJPEGDecoder(tableStream);
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] location: class TIFFImage
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:402: error: cannot find symbol
> [javac] JPEGEncodeParam jep = null;
> [javac] ^
> [javac] symbol: class JPEGEncodeParam
> [javac] location: class TIFFImageEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:594: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGEncodeParam jpegEncodeParam = n
> ull;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:595: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGImageEncoder jpegEncoder = null
> ;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:602: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_ID_UN
> KNOWN;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:607: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_I
> D_GRAY;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:611: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_I
> D_RGB;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:615: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGDecodeParam.COLOR_I
> D_YCbCr;
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:622: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGCodec.getDefaultJPEGEnc
> odeParam(
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:633: error: package com.sun.image
> .codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGCodec.createJPEGEncoder(
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:656: error: inconvertible types
> [javac] subsampleH = (char)jep.getHorizontalSubsampling(0);
> [javac] ^
> [javac] required: char
> [javac] found: getHorizontalSubsampling
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:657: error: inconvertible types
> [javac] subsampleV = (char)jep.getVerticalSubsampling(0);
> [javac] ^
> [javac] required: char
> [javac] found: getVerticalSubsampling
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:659: error: inconvertible types
> [javac] char subH = (char)jep.getHorizontalSubsampling(i
> );
> [javac] ^
> [javac] required: char
> [javac] found: getHorizontalSubsampling
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:663: error: inconvertible types
> [javac] char subV = (char)jep.getVerticalSubsampling(i);
>
> [javac] ^
> [javac] required: char
> [javac] found: getVerticalSubsampling
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:1113: error: package com.sun.imag
> e.codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGCodec.
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:1120: error: package com.sun.imag
> e.codec.jpeg does not exist
> [javac] com.sun.image.codec.jpeg.JPEGCodec.
> [javac] ^
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\codec\tiff\TIFFImageEncoder.java:1707: error: cannot find symbol
> [javac] JPEGQTable tbl = src.getQTable(i);
> [javac] ^
> [javac] symbol: class JPEGQTable
> [javac] location: class TIFFImageEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\spi\JPEGRegistryEntry.java:84: error: cannot find symbol
> [javac] JPEGImageDecoder decoder;
> [javac] ^
> [javac] symbol: class JPEGImageDecoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\spi\JPEGRegistryEntry.java:85: error: cannot find symbol
> [javac] decoder = JPEGCodec.createJPEGDecoder(is);
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> ext\awt\image\spi\JPEGRegistryEntry.java:89: error: cannot find symbol
> [javac] } catch (TruncatedFileException tfe) {
> [javac] ^
> [javac] symbol: class TruncatedFileException
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\CachedImageHandlerJPEGEncoder.java:60: error: cannot find symbol
> [javac] JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
> [javac] ^
> [javac] symbol: class JPEGImageEncoder
> [javac] location: class CachedImageHandlerJPEGEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\CachedImageHandlerJPEGEncoder.java:60: error: cannot find symbol
> [javac] JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] location: class CachedImageHandlerJPEGEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\CachedImageHandlerJPEGEncoder.java:61: error: cannot find symbol
> [javac] JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bu
> f);
> [javac] ^
> [javac] symbol: class JPEGEncodeParam
> [javac] location: class CachedImageHandlerJPEGEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\ImageHandlerJPEGEncoder.java:80: error: cannot find symbol
> [javac] JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(o
> s);
> [javac] ^
> [javac] symbol: class JPEGImageEncoder
> [javac] location: class ImageHandlerJPEGEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\ImageHandlerJPEGEncoder.java:80: error: cannot find symbol
> [javac] JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(o
> s);
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] location: class ImageHandlerJPEGEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> svggen\ImageHandlerJPEGEncoder.java:81: error: cannot find symbol
> [javac] JPEGEncodeParam param = encoder.getDefaultJPEGEncodePara
> m(buf);
> [javac] ^
> [javac] symbol: class JPEGEncodeParam
> [javac] location: class ImageHandlerJPEGEncoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:89: error: cannot find symbol
> [javac] JPEGImageEncoder jpegEncoder;
> [javac] ^
> [javac] symbol: class JPEGImageEncoder
> [javac] location: class JPEGTranscoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:90: error: cannot find symbol
> [javac] JPEGEncodeParam params;
> [javac] ^
> [javac] symbol: class JPEGEncodeParam
> [javac] location: class JPEGTranscoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:91: error: cannot find symbol
> [javac] jpegEncoder = JPEGCodec.createJPEGEncoder(ostream);
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] location: class JPEGTranscoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:92: error: cannot find symbol
> [javac] params = JPEGCodec.getDefaultJPEGEncodeParam(img);
> [javac] ^
> [javac] symbol: variable JPEGCodec
> [javac] location: class JPEGTranscoder
> [javac] C:\Projects\ApacheFlex\Development\ApacheFlex_RC3\apache-flex-sdk-4.
> 8.0-incubating-src\modules\thirdparty\batik\sources\org\apache\flex\forks\batik\
> transcoder\image\JPEGTranscoder.java:97: error: cannot find symbol
> [javac] params.setDensityUnit(JPEGEncodeParam.DENSITY_UNIT_DOTS_
> INCH);
> [javac] ^
> [javac] symbol: variable JPEGEncodeParam
> [javac] location: class JPEGTranscoder
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 61 errors
>
> --
> Jeffry Houser
> Technical Entrepreneur
> 203-379-0773
> --
> http://www.flextras.com?c=104
> UI Flex Components: Tested! Supported! Ready!
> --
> http://www.theflexshow.com
> http://www.jeffryhouser.com
> http://www.asktheflexpert.com
> --
> Part of the DotComIt Brain Trust
>