Try changing your java alternative setting:

sudo update-alternatives --config java

HTH,
Henry

Jeff Mutonho wrote:
On 7/17/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote:
Hi,

Try executing 'which java' from the command line and trace from this
which java (the one displayed may be an alternate only) is being
executed to verify if the java you're using is really 1.6. It might not
exactly be a Maven problem :-)

You're absolutely right.The output is :
bash-2.05$ which java
/usr/bin/java
bash-2.05$ java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
bash-2.05$

The system wide java executable is pointing to that 1.4 runtime as
there are other applications that are using 1.4.How can I override and
force maven to use the 1.6 one?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to