1 |
Krzysiek Pawlik wrote: |
2 |
|
3 |
> Jörg Schaible wrote: |
4 |
>> Please note, that Sun is still supporting JDK 1.3 for *paying* customers. |
5 |
>> It will take years till Sun is completely dropping 1.4: |
6 |
>> |
7 |
>> http://www.sun.com/software/javaseforbusiness/support.jsp |
8 |
> |
9 |
> Yes, but the free Java world goes forward, plethora of projects use |
10 |
> generics - and they require >= 1.5 (or any other feature of JDK 1.5). |
11 |
> |
12 |
>> Therefore I still have even 1.3 ebuilds on my local tree. And I had to |
13 |
>> download and use the official ant binaries to run it with 1.3. Dropping |
14 |
>> 1.4 means also that it is no longer possible to run Maven with its |
15 |
>> minimum JDK requirement. |
16 |
> |
17 |
> Yes, but VM which is running maven is not the same as VM for which the |
18 |
> code is generated (note -source and -target options of javac). |
19 |
|
20 |
Be sure, I found them some years ago. |
21 |
|
22 |
>> In Gentoo all is about choice, but this seem not to apply for Java |
23 |
>> development. For me it gets unusable. |
24 |
> |
25 |
> You're missing the point: the official tree (gentoo-x86) will require |
26 |
> >=1.5, *but*: if you install JDK 1.4 (or any other version) you can still |
27 |
> use it for your own software (including maven, ant and so on). |
28 |
|
29 |
Theoretically. At least in Gentoo. Using original binary distributions, it |
30 |
is definitely possible. |
31 |
|
32 |
> Also like I said - more and more things require 1.5, which means that all |
33 |
> things depending on them also need to be >= 1.5. For example: new hessian |
34 |
> requires >= 1.5, which means that mx4j needs also to be switched to 1.5, |
35 |
> which means we have to switch anything depending on mx4j, and so on. |
36 |
|
37 |
So, and where can I define then my minimum supported JDK version |
38 |
(setting -source and -target)? Can I define that my system should be JDK |
39 |
1.3 compatible - at least for all packages that support this (e.g. |
40 |
commons-logging)? Will packages like mx4j slotted to have the last JDK 1.4 |
41 |
compatible and the JDK 5 compatible version? ... No, I know. However, I |
42 |
still have to provide JDK 1.3 (or at least 1.4) compatible software. And |
43 |
this does not simply mean to compile code, it also means to run it! |
44 |
|
45 |
This will more or less lead to the situation, where I have to drop the |
46 |
complete Gentoo Java packages (except the JDK's themselves) and install |
47 |
everything else myself using the binaries. |
48 |
|
49 |
- Jörg |
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
-- |
56 |
gentoo-java@l.g.o mailing list |