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

Reply via email to