incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffry Houser <jef...@dot-com-it.com>
Subject Package com.sun.image.* not Found when building Flex Source RC3
Date Sat, 14 Jul 2012 14:59:47 GMT

  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


Mime
View raw message