Oh, silly me. Thanks for pointing at the right direction. Obviously I
forgot to set the right environment for the update procedure.
For Solaris it's necessary to have this old java version for some os
components, otherwise I would have updated the java completely.
Thank you for BASE
I guess we really should change the compilation
to use '-target 1.6'
Or simply omit it. In general I can think of few scenarios
where you'd want to target an older VM than the one you are
working with (one reason might be compiler fixes that were
not back-ported): that invites the sort of
On 2010-11-24 15:10, Olivier Lefevre wrote:
I guess we really should change the compilation
to use '-target 1.6'
Or simply omit it. In general I can think of few scenarios
where you'd want to target an older VM than the one you are
working with (one reason might be compiler fixes that were
Dear team,
I got a weird error during updating my base2 installation from 2.14.0 to
2.16.1.
Tomcat is shut down, I run sh updatedb.sh password.
See the output below.
Any advise or idea whats going on?
Thanks in advance,
/philipp
[0%]--System information-
BASE
Java : Java(TM) Platform,
Standard Edition for Business; 1.5.0_16-b02; Sun Microsystems Inc.
java.lang.NoSuchMethodError:
java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
You're running Java 1.5 but the Array.copyOf methods were
introduced in Java 1.6:
That line of code (IntensityFormula.java:91) was changed in
2.16 so it is not so strange.
I meant I was surprised that this 1.5 VM didn't immediately
reject classes obviously compiled against 1.6. Did you use
the -target 1.5 option in compilation?
-- O.L.
On 2010-11-23 21:22, Olivier Lefevre wrote:
That line of code (IntensityFormula.java:91) was changed in
2.16 so it is not so strange.
I meant I was surprised that this 1.5 VM didn't immediately
reject classes obviously compiled against 1.6. Did you use
the -target 1.5 option in compilation?