From: "Jörg Schaible" <joerg.schaible@gmx.de>
To: gentoo-java@lists.gentoo.org
Subject: [gentoo-java] Re: Re: Deprecating JDK 1.4
Date: Thu, 17 Jul 2008 21:50:05 +0200 [thread overview]
Message-ID: <g5o7pd$9lg$1@ger.gmane.org> (raw)
In-Reply-To: 487DE651.5050609@gentoo.org
Krzysiek Pawlik wrote:
> Jörg Schaible wrote:
>> Please note, that Sun is still supporting JDK 1.3 for *paying* customers.
>> It will take years till Sun is completely dropping 1.4:
>>
>> http://www.sun.com/software/javaseforbusiness/support.jsp
>
> Yes, but the free Java world goes forward, plethora of projects use
> generics - and they require >= 1.5 (or any other feature of JDK 1.5).
>
>> Therefore I still have even 1.3 ebuilds on my local tree. And I had to
>> download and use the official ant binaries to run it with 1.3. Dropping
>> 1.4 means also that it is no longer possible to run Maven with its
>> minimum JDK requirement.
>
> Yes, but VM which is running maven is not the same as VM for which the
> code is generated (note -source and -target options of javac).
Be sure, I found them some years ago.
>> In Gentoo all is about choice, but this seem not to apply for Java
>> development. For me it gets unusable.
>
> You're missing the point: the official tree (gentoo-x86) will require
> >=1.5, *but*: if you install JDK 1.4 (or any other version) you can still
> use it for your own software (including maven, ant and so on).
Theoretically. At least in Gentoo. Using original binary distributions, it
is definitely possible.
> Also like I said - more and more things require 1.5, which means that all
> things depending on them also need to be >= 1.5. For example: new hessian
> requires >= 1.5, which means that mx4j needs also to be switched to 1.5,
> which means we have to switch anything depending on mx4j, and so on.
So, and where can I define then my minimum supported JDK version
(setting -source and -target)? Can I define that my system should be JDK
1.3 compatible - at least for all packages that support this (e.g.
commons-logging)? Will packages like mx4j slotted to have the last JDK 1.4
compatible and the JDK 5 compatible version? ... No, I know. However, I
still have to provide JDK 1.3 (or at least 1.4) compatible software. And
this does not simply mean to compile code, it also means to run it!
This will more or less lead to the situation, where I have to drop the
complete Gentoo Java packages (except the JDK's themselves) and install
everything else myself using the binaries.
- Jörg
--
gentoo-java@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-07-17 19:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-13 10:01 [gentoo-java] Deprecating JDK 1.4 Krzysiek Pawlik
[not found] ` <d61c57300807130324o5446afaah3b94e23ada11e8ce@mail.gmail.com>
2008-07-13 10:31 ` [gentoo-java] " Krzysiek Pawlik
2008-07-14 21:16 ` Jörg Schaible
2008-07-16 12:15 ` Krzysiek Pawlik
2008-07-16 17:33 ` Petteri Räty
2008-07-16 17:57 ` Krzysiek Pawlik
2008-07-17 19:50 ` Jörg Schaible [this message]
2008-07-19 17:06 ` [gentoo-java] " Petteri Räty
2008-07-16 17:38 ` [gentoo-java] " Petteri Räty
2008-07-16 17:59 ` Krzysiek Pawlik
2008-07-16 18:09 ` Petteri Räty
2009-03-26 18:41 ` Serkan Kaba
2009-03-30 18:16 ` Petteri Räty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='g5o7pd$9lg$1@ger.gmane.org' \
--to=joerg.schaible@gmx.de \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox