Some extra info:

[dspace@valde dspace-1_2-beta1-source]$ echo $JAVA_HOME
/usr/java/j2sdk1.4.2_04/

[dspace@valde dspace]$ echo $ANT_HOME
/usr/local/ant

[dspace@valde dspace]$ java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

[dspace@valde dspace-1_2-beta1-source]$ echo $PATH
/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/dspace/bin:/usr/java/j2sdk1.4.2_04/bin/:/usr/java/j2sdk1.4.2_04:/usr/java/j2sdk1.4.2_04/jre/bin

---------------------

The class should be there:
[root@valde root]# unzip -l /usr/java/j2sdk1.4.2_04/jre/lib/rt.jar | grep ImageIO.class
    14432  01-01-80 00:00   javax/imageio/ImageIO.class

If we use: jar -tf rt.jar | grep imageio it shows the following:

[root@valde lib]# jar -tf rt.jar | grep imageio
com/sun/imageio/plugins/common/InputStreamAdapter.class
com/sun/imageio/plugins/common/StandardMetadataFormat.class
com/sun/imageio/plugins/common/StandardMetadataFormatResources.class
com/sun/imageio/plugins/common/SubImageInputStream.class
com/sun/imageio/plugins/gif/GIFImageMetadata.class
com/sun/imageio/plugins/gif/GIFImageMetadataFormat.class
com/sun/imageio/plugins/gif/GIFImageMetadataFormatResources.class
com/sun/imageio/plugins/gif/GIFImageReader.class
com/sun/imageio/plugins/gif/GIFImageReaderSpi.class
com/sun/imageio/plugins/gif/GIFStreamMetadata.class
com/sun/imageio/plugins/gif/GIFStreamMetadataFormat.class
com/sun/imageio/plugins/gif/GIFStreamMetadataFormatResources.class
com/sun/imageio/plugins/jpeg/AdobeMarkerSegment.class
com/sun/imageio/plugins/jpeg/COMMarkerSegment.class
com/sun/imageio/plugins/jpeg/DHTMarkerSegment$Htable.class
com/sun/imageio/plugins/jpeg/DHTMarkerSegment.class
com/sun/imageio/plugins/jpeg/DQTMarkerSegment$Qtable.class
com/sun/imageio/plugins/jpeg/DQTMarkerSegment.class
com/sun/imageio/plugins/jpeg/DRIMarkerSegment.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$1.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$ICCMarkerSegment.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$IllegalThumbException.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFExtensionMarkerSegment.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumb.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbJPEG$ThumbnailReadListener.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbJPEG.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbPalette.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbRGB.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment$JFIFThumbUncompressed.class
com/sun/imageio/plugins/jpeg/JFIFMarkerSegment.class
com/sun/imageio/plugins/jpeg/JPEG.class
com/sun/imageio/plugins/jpeg/JPEGBuffer.class
com/sun/imageio/plugins/jpeg/JPEGImageMetadataFormat.class
com/sun/imageio/plugins/jpeg/JPEGImageMetadataFormatResources.class
com/sun/imageio/plugins/jpeg/JPEGImageReader.class
com/sun/imageio/plugins/jpeg/JPEGImageReaderResources.class
com/sun/imageio/plugins/jpeg/JPEGImageReaderSpi.class
com/sun/imageio/plugins/jpeg/JPEGImageWriter.class
com/sun/imageio/plugins/jpeg/JPEGImageWriterResources.class
com/sun/imageio/plugins/jpeg/JPEGImageWriterSpi.class
com/sun/imageio/plugins/jpeg/JPEGMetadata.class
com/sun/imageio/plugins/jpeg/JPEGMetadataFormat.class
com/sun/imageio/plugins/jpeg/JPEGMetadataFormatResources.class
com/sun/imageio/plugins/jpeg/JPEGStreamMetadataFormat.class
com/sun/imageio/plugins/jpeg/JPEGStreamMetadataFormatResources.class
com/sun/imageio/plugins/jpeg/MarkerSegment.class
com/sun/imageio/plugins/jpeg/SOFMarkerSegment$ComponentSpec.class
com/sun/imageio/plugins/jpeg/SOFMarkerSegment.class
com/sun/imageio/plugins/jpeg/SOSMarkerSegment$ScanComponentSpec.class
com/sun/imageio/plugins/jpeg/SOSMarkerSegment.class
com/sun/imageio/plugins/png/CRC.class
com/sun/imageio/plugins/png/ChunkStream.class
com/sun/imageio/plugins/png/IDATOutputStream.class
com/sun/imageio/plugins/png/PNGImageDataEnumeration.class
com/sun/imageio/plugins/png/PNGImageReader.class
com/sun/imageio/plugins/png/PNGImageReaderSpi.class
com/sun/imageio/plugins/png/PNGImageWriteParam.class
com/sun/imageio/plugins/png/PNGImageWriter.class
com/sun/imageio/plugins/png/PNGImageWriterSpi.class
com/sun/imageio/plugins/png/PNGMetadata.class
com/sun/imageio/plugins/png/PNGMetadataFormat.class
com/sun/imageio/plugins/png/PNGMetadataFormatResources.class
com/sun/imageio/plugins/png/RowFilter.class
com/sun/imageio/spi/FileImageInputStreamSpi.class
com/sun/imageio/spi/FileImageOutputStreamSpi.class
com/sun/imageio/spi/InputStreamImageInputStreamSpi.class
com/sun/imageio/spi/OutputStreamImageOutputStreamSpi.class
com/sun/imageio/spi/RAFImageInputStreamSpi.class
com/sun/imageio/spi/RAFImageOutputStreamSpi.class
javax/imageio/IIOException.class
javax/imageio/IIOImage.class
javax/imageio/IIOParam.class
javax/imageio/IIOParamController.class
javax/imageio/ImageIO$CacheInfo.class
javax/imageio/ImageIO$CanDecodeInputFilter.class
javax/imageio/ImageIO$CanEncodeImageAndFormatFilter.class
javax/imageio/ImageIO$ContainsFilter.class
javax/imageio/ImageIO$ImageReaderIterator.class
javax/imageio/ImageIO$ImageTranscoderIterator.class
javax/imageio/ImageIO$ImageWriterIterator.class
javax/imageio/ImageIO$TranscoderFilter.class
javax/imageio/ImageIO.class
javax/imageio/ImageReadParam.class
javax/imageio/ImageReader.class
javax/imageio/ImageTranscoder.class
javax/imageio/ImageTypeSpecifier$1.class
javax/imageio/ImageTypeSpecifier$Banded.class
javax/imageio/ImageTypeSpecifier$Grayscale.class
javax/imageio/ImageTypeSpecifier$Indexed.class
javax/imageio/ImageTypeSpecifier$Interleaved.class
javax/imageio/ImageTypeSpecifier$Packed.class
javax/imageio/ImageTypeSpecifier.class
javax/imageio/ImageWriteParam.class
javax/imageio/ImageWriter.class
javax/imageio/event/IIOReadProgressListener.class
javax/imageio/event/IIOReadUpdateListener.class
javax/imageio/event/IIOReadWarningListener.class
javax/imageio/event/IIOWriteProgressListener.class
javax/imageio/event/IIOWriteWarningListener.class
javax/imageio/metadata/IIOAttr.class
javax/imageio/metadata/IIODOMException.class
javax/imageio/metadata/IIOInvalidTreeException.class
javax/imageio/metadata/IIOMetadata.class
javax/imageio/metadata/IIOMetadataController.class
javax/imageio/metadata/IIOMetadataFormat.class
javax/imageio/metadata/IIOMetadataFormatImpl$Attribute.class
javax/imageio/metadata/IIOMetadataFormatImpl$Element.class
javax/imageio/metadata/IIOMetadataFormatImpl$ObjectValue.class
javax/imageio/metadata/IIOMetadataFormatImpl.class
javax/imageio/metadata/IIOMetadataNode.class
javax/imageio/metadata/IIONamedNodeMap.class
javax/imageio/metadata/IIONodeList.class
javax/imageio/plugins/jpeg/JPEGHuffmanTable.class
javax/imageio/plugins/jpeg/JPEGImageReadParam.class
javax/imageio/plugins/jpeg/JPEGImageWriteParam.class
javax/imageio/plugins/jpeg/JPEGQTable.class
javax/imageio/spi/DigraphNode.class
javax/imageio/spi/FilterIterator.class
javax/imageio/spi/IIORegistry.class
javax/imageio/spi/IIOServiceProvider.class
javax/imageio/spi/ImageInputStreamSpi.class
javax/imageio/spi/ImageOutputStreamSpi.class
javax/imageio/spi/ImageReaderSpi.class
javax/imageio/spi/ImageReaderWriterSpi.class
javax/imageio/spi/ImageTranscoderSpi.class
javax/imageio/spi/ImageWriterSpi.class
javax/imageio/spi/PartialOrderIterator.class
javax/imageio/spi/PartiallyOrderedSet.class
javax/imageio/spi/RegisterableService.class
javax/imageio/spi/ServiceRegistry$Filter.class
javax/imageio/spi/ServiceRegistry.class
javax/imageio/spi/SubRegistry.class
javax/imageio/stream/FileCacheImageInputStream.class
javax/imageio/stream/FileCacheImageOutputStream.class
javax/imageio/stream/FileImageInputStream.class
javax/imageio/stream/FileImageOutputStream.class
javax/imageio/stream/IIOByteBuffer.class
javax/imageio/stream/ImageInputStream.class
javax/imageio/stream/ImageInputStreamImpl.class
javax/imageio/stream/ImageOutputStream.class
javax/imageio/stream/ImageOutputStreamImpl.class
javax/imageio/stream/MemoryCache.class
javax/imageio/stream/MemoryCacheImageInputStream.class
javax/imageio/stream/MemoryCacheImageOutputStream.class




STUVE,DAVID (HP-Corvallis,ex1) wrote:
Hi Søren,

Perhaps the classes are not part of the distribution you downloaded?  My
javax.imageio classes are in my java/jre/lib/rt.jar file.  Try finding this
file and type "jar -tf rt.jar | grep imageio" and see if the classes are
even there.  I have the 1.4.2_03 SDK for Linux.

Dave

-----Original Message-----
From: dspace-tech-admin@lists.sourceforge.net
[mailto:dspace-tech-admin@lists.sourceforge.net] On Behalf Of Søren Møller
Sent: Wednesday, April 28, 2004 6:23 AM
To: DSpace-tech@lists.sourceforge.net
Subject: SV: [Dspace-tech] DSpace 1.2 beta ant fresh_install problem


Hi Jim,

We have downloaded and installed J2SE v 1.4.2_04 SDK with NetBeans 3.6
Cobundle from the Sun web-site.

-Søren

--------------------
Søren Møller
Research Librarian
Roskilde University Library
P.O.Box 258
DK-4000 Roskilde, Denmark
Phone: +45 4674 2493
E-mail: moller@ruc.dk
www.rub.ruc.dk/~moller/
http://www.rub.ruc.dk/rub/omrub/personale.php?enavn=møller&fnavn=søren
--------------------
 

-----Oprindelig meddelelse-----
Fra: dspace-tech-admin@lists.sourceforge.net
[mailto:dspace-tech-admin@lists.sourceforge.net] På vegne af Jim Downing
Sendt: 28. april 2004 14:57
Til: 'dspace-tech'
Emne: Re: [Dspace-tech] DSpace 1.2 beta ant fresh_install problem

Hi Søren,

Which JDK (manufacturer, version) are you using, please? I think this
release of DSpace requires v1.4.x

jim

On Wed, 2004-04-28 at 12:44, Søren Møller wrote:
  
Hi,

 

Can somebody help?

 

We are trying to do a fresh install of DSpace 1.2 beta and get the 
following errors when running ant fresh_install:

 

[dspace@valde dspace-1_2-beta1-source]$ ant fresh_install

Buildfile: build.xml

 

compile:

    [mkdir] Created dir: 
/dspace_src/dspace-1_2-beta1-source/build/classes

    [javac] Compiling 131 source files to 
/dspace_src/dspace-1_2-beta1-source/build/classes

    [javac]

    
/dspace_src/dspace-1_2-beta1-source/src/org/dspace/app/mediafilter/JPEGF
ilter.java:52: error: Class or interface `javax.imageio.ImageIO' not found
in import.
  
    [javac]    import javax.imageio.ImageIO;

    [javac]           ^

    [javac]

    
/dspace_src/dspace-1_2-beta1-source/src/org/dspace/app/mediafilter/HTMLF
ilter.java:49: error: Class or interface
`javax.swing.text.ChangedCharSetException' not found in import.
  
    [javac]    import javax.swing.text.ChangedCharSetException;

    [javac]           ^

    [javac]

    
/dspace_src/dspace-1_2-beta1-source/src/org/dspace/app/mediafilter/HTMLF
ilter.java:125: error: Type `HTMLEditorKit' not found in the declaration of
the local variable `kit'.
  
    [javac]            HTMLEditorKit kit = new HTMLEditorKit();

    [javac]            ^

    [javac] 3 errors

 

BUILD FAILED

file:/dspace_src/dspace-1_2-beta1-source/build.xml:109: Compile 
failed; see the compiler error output for details.

 

Total time: 1 second

 

We are running on a Linux RedHat Enterprise server 3 with 
j2sdk-1_4_2-nb-3_5_1, Ant 1.6.1, PostgreSQL (RPM 7.3.4.9), Tomcat 
5.0.19.

 

Thanks.

 

--------------------

Søren Møller

Research Librarian

Roskilde University Library

P.O.Box 258

DK-4000 Roskilde, Denmark

Phone: +45 4674 2493

E-mail: moller@ruc.dk

www.rub.ruc.dk/~moller/

http://www.rub.ruc.dk/rub/omrub/personale.php?enavn=møller&fnavn=søren

--------------------

 


    


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.

Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id149&alloc_id66&op=ick
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech