I would be willing to bet that that was the problem. Except that I am on Linux.
However, you raise a good point. I do not know exactly how IT has this box set up. I don't know what environment variables they have set up and what other things might be going on in the background. I am sorry to SPAM this list with these questions, because it is probably just something that IT could fix if they knew anything about Maven or DSpace. :) --- Thanks, Chad Hansen Web Programmer - Library Information Services Brigham Young University e: [EMAIL PROTECTED] p: 1-801-422-3904 ________________________________________ From: Robin Taylor [EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 7:49 AM To: Chad Hansen; 'Stuart Lewis [sdl]'; [email protected] Subject: RE: [Dspace-tech] DSpace 1.5 - mvn package trouble I'm afraid you are just a victim of Java on Windows. There are almost certainly some entries in your Windows Registry that still refer to 1.4. I have been through exactly the same scenario. Eventually I had to uninstall everything and remove any registry entries referring to java (can't remember how you do this), and then start again. None of this should be neccesary, but it is. What can we do ! Cheers, Robin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Hansen Sent: 15 January 2008 14:40 To: Stuart Lewis [sdl]; [email protected] Subject: Re: [Dspace-tech] DSpace 1.5 - mvn package trouble I am currently working with the IT department for my area to try and track down the problem. When I run java -version I get the following: java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20071025 (SR6b)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20071005 (JIT enabled) J9VM - 20071004_14218_lHdSMR JIT - 20070820_1846ifx1_r8 GC - 200708_10) JCL - 20071025 I looked at the JAVA_HOME environment variable which was pointing to the old 1.4. However, after changing that to (what I thought was the new one) I got the following after running mvn package: [INFO] Compilation failure Unable to locate the Javac Compiler in: /usr/lib/jvm/java-1_5_0-ibm-1.5.0_sr6/jre/../lib/tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. Am I doing something wrong? --- Thanks, Chad Hansen Web Programmer - Library Information Services Brigham Young University e: [EMAIL PROTECTED] p: 1-801-422-3904 ________________________________________ From: Stuart Lewis [sdl] [EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 12:47 AM To: Chad Hansen; [email protected] Subject: Re: [Dspace-tech] DSpace 1.5 - mvn package trouble Hi Chad, >> I upgraded to Java 1.5 and am getting the exact same results as before. >> >> Is there any more information I can find and provide in order to help >> track down the cause? > > Could you run 'javac -version' just to confirm your system is picking > up the new 1.5, rather than the old 1.4 JDK? Also check your JAVA_HOME environment variable points to the new version. Thanks, Stuart _________________________________________________________________ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: [EMAIL PROTECTED] Ffon / Tel: (01970) 622860 _________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

