-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Jaeger wrote:
Manfred Tremmel
writes: Am Mittwoch, 13. September 2006 17:04 schrieb Andreas Jaeger:
We would still deliver both - the question is which to use for building by default... If you compile a java program using java 1.4.2 it's running also with java 1.5.0. If you compile it with java 1.5.0 it will not run with java 1.4.2. So what's worth to deliver both, when nothing works with with
Thanks, didn't know that.
It's not quite correct though. You can build with 1.5.0 or 1.6.0 but tell the java compiler to use the souce compatibility level of 1.4.x javac -source 1.4 ... Of course, if you do that, you cannot use the new language features of 1.5 (annotations, generics).
1.4.2 when it's build with 1.5.0.
You could still install both on your system...
Right.
For my own, I can't switch to 1.5.0, there are a lot of SAP-servers (AIX and SUSE) at work I have to write Java modules and I also can't switch
You can use the 1.5 (or 1.6) compiler and compile for 1.4.x (see above).
to 1.5.0 on my knightsoft-net Webserver, it needs to much memory for the small vserver.
The same bytecode uses more RAM when running with 1.5 than with 1.4 ? oO
But still, I think having both is the better approach.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\