I don't think you're using Sun Java, are you. java -version?

cheers,

Jim

On Mon, Jul 16, 2007 at 09:18:47AM -0400, Glenn Bunton wrote:
> Mandriva 7
> Postgresql 8
> Java 1.4.2
> ant 1.7
> 
> ant fresh_install leads to error messages beginning with the following and
> continuing
> 
> compile:
>     [javac] Compiling 1 source file to
>     /usr/local/src/dspace-1.4.2-source/build/classes
>     [javac] ----------
>     [javac] 1. WARNING in
>     
> /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java
>  (at line 40)
>     [javac]       import java.lang.*;
>     [javac]              ^^^^^^^^^
>     [javac] The import java.lang is never used
>     [javac] ----------
>     [javac] 2. ERROR in
>     
> /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java
>  (at line 55)
>     [javac]       import sun.misc.BASE64Encoder;
>     [javac]              ^^^^^^^^
>     [javac] The import sun.misc cannot be resolved
>     [javac] ----------
>     [javac] 3. ERROR in
>     
> /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java
>  (at line 238)
>     [javac]       BASE64Encoder encoder=(BASE64Encoder)
>     Class.forName("sun.misc.BASE64Encoder").newInstance();
>     [javac]       ^^^^^^^^^^^^^
>     [javac] BASE64Encoder cannot be resolved to a type
>     [javac] ----------
>     [javac] 4. ERROR in
>     
> /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java
>  (at line 238)
>     [javac]       BASE64Encoder encoder=(BASE64Encoder)
>     Class.forName("sun.misc.BASE64Encoder").newIns
>     [javac] tance();
>     [javac]                              ^^^^^^^^^^^^^
>     [javac] BASE64Encoder cannot be resolved to a type
>     [javac] ----------
>     [javac] ----------
>     [javac] 5. WARNING in
>     /usr/local/src/dspace-1.4.2-source/src/org/dspace/content/Item.java
>     [javac]  (at line 51)
>     [javac]       import java.util.ListIterator;
>     [javac]              ^^^^^^^^^^^^^^^^^^^^^^
>     [javac] The import java.util.ListIterator is never used
>     [javac] ----------
> 
> Any help would be greatly appreciated.
> 
> 
> 
> ==================================
> Mr. Glenn Bunton
> Head of Systems Development
> Old Dominion University Libraries
> Norfolk, Virginia 23529
> [EMAIL PROTECTED]
> (757) 683-5952
> ===================================
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
James Rutherford          |  Hewlett-Packard Limited registered Office:
Research Engineer         |  Cain Road,
HP Labs                   |  Bracknell,
Bristol, UK               |  Berks
+44 117 312 7066          |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as "HP CONFIDENTIAL".

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to