Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What's the preferred javax.mail downloas site these days?

106 views
Skip to first unread message

Martin Gregorie

unread,
Aug 11, 2022, 7:55:44 PM8/11/22
to

Hi, I need to update the javax.mail package, because the code I've been
using since July 2021 has now started throw exceptions about an inability
to find a javax activation class but seemingly were to find an upgrade
isn't well documented.

I'm currently using Open JDK 1.8 under Fedora 35 but it seems that
javax.mail is apparently not available as a standard dnf package. At least
so far, I haven't been able to find a Fedora package containing it.

Its late, and I seem to be going in circles, so I thought I'd ask you guys
what I've obviously missed and crash til morning.

TIA.


--

Martin | martin at
Gregorie | gregorie dot org

Arne Vajhøj

unread,
Aug 11, 2022, 8:09:35 PM8/11/22
to
The canonical download sites must be:

https://github.com/javaee/javamail

and:

https://github.com/eclipse-ee4j/mail

But I suspect most use Maven repo today.

Arne

e.d.pro...@gmail.com

unread,
Aug 12, 2022, 11:09:29 AM8/12/22
to
> The canonical download sites must be:
>
> https://github.com/javaee/javamail
>
> and:
>
> https://github.com/eclipse-ee4j/mail
>
> But I suspect most use Maven repo today.
>
> Arne
currently using
https://mvnrepository.com/artifact/com.sun.mail/javax.mail
which now has newer versions in a different artifact
https://mvnrepository.com/artifact/com.sun.mail/jakarta.mail

e.d.pro...@gmail.com

unread,
Aug 12, 2022, 11:10:43 AM8/12/22
to
On Thursday, August 11, 2022 at 7:55:44 PM UTC-4, Martin Gregorie wrote:
> Hi, I need to update the javax.mail package, because the code I've been
> using since July 2021 has now started throw exceptions about an inability
> to find a javax activation class but seemingly were to find an upgrade
> isn't well documented.
>

It helps if you can let maven manage dependencies.

Martin Gregorie

unread,
Aug 12, 2022, 12:51:44 PM8/12/22
to
I'm unreconstructed enough to be using ant rather than maven.

But thanks to the pointers I was given on this thread I've not only
discovered that javax.mail is now jakarta.mail and that it has good
Fedora/OpenJava support, but also that using dnf to install "jakarta-
mail.noarch" pulls in both the jakarta-mail and jakarta-activation
packages, which is exactly what I need.

Knute Johnson

unread,
Aug 12, 2022, 4:11:41 PM8/12/22
to
Hey Martin:

https://eclipse-ee4j.github.io/mail/#Download_Jakarta_Mail_Release

Not sure where to get the latest jakarta.activation.jar.

Java 8 is way beyond end of life. The current version is 18 but 17 is
the latest LTS.

Some time ago they changed who was working on JavaMail and the package
name changed to jakarta.mail and jakarta.activation. You need both jars.


You can go to my website and get both files:

http://knutejohnson.com/test/

Martin Gregorie

unread,
Aug 12, 2022, 4:21:47 PM8/12/22
to
On Fri, 12 Aug 2022 15:11:17 -0500, Knute Johnson wrote:

> On 8/11/22 18:55, Martin Gregorie wrote:
>>
>> Hi, I need to update the javax.mail package, because the code I've been
>> using since July 2021 has now started throw exceptions about an
>> inability to find a javax activation class but seemingly were to find
>> an upgrade isn't well documented.
>>
>> I'm currently using Open JDK 1.8 under Fedora 35 but it seems that
>> javax.mail is apparently not available as a standard dnf package. At
>> least so far, I haven't been able to find a Fedora package containing
>> it.
>>
>> Its late, and I seem to be going in circles, so I thought I'd ask you
>> guys what I've obviously missed and crash til morning.
>>
>> TIA.
>>
>>
>>
> Hey Martin:
>
> https://eclipse-ee4j.github.io/mail/#Download_Jakarta_Mail_Release
>
> Not sure where to get the latest jakarta.activation.jar.
>
> Java 8 is way beyond end of life. The current version is 18 but 17 is
> the latest LTS.
>
Sure, but Fedora is currently supporting 8 and 11: I've just downloaded
and installed jakarta.mail 1.6 as a Fedora package. Haven't had time to
recompile the affected program yet - currently too busy with gliding club
planning stuff.

> Some time ago they changed who was working on JavaMail and the package
> name changed to jakarta.mail and jakarta.activation. You need both
> jars.
>
>
> You can go to my website and get both files:
>
> http://knutejohnson.com/test/
>
Thanks, but picked them up as RH Fedora packages already ;-)

e.d.pro...@gmail.com

unread,
Aug 12, 2022, 5:06:05 PM8/12/22
to
> Java 8 is way beyond end of life. The current version is 18 but 17 is
> the latest LTS.
>

Using Java 11 at work, as I recall the transition from Java 8 was pretty smooth; upgraded my personal repo to 17 with no issues.

Martin Gregorie

unread,
Aug 12, 2022, 6:18:32 PM8/12/22
to
Good to know. This lack of surprises is one of Java's better features. I'm
still running code that was written for Java 1.4 and that has never needed
to be modified since it was written.

Unlike some other languages it never seems to obsolete any syntax, and so
by and large, its as easy to recompile with a later compiler as C.

This is quite unlike, e.g. COBOL, though in fairness the much of the stuff
that language obsoleted deserved to die, e.g the ALTER verb, which allowed
a program to modify its own logic paths by changing the destination of a
GO TO statement.

Arne Vajhøj

unread,
Aug 12, 2022, 8:21:34 PM8/12/22
to
On 8/12/2022 4:11 PM, Knute Johnson wrote:
> Java 8 is way beyond end of life.

No.

Oracle commercial Java 8 is supported until December 2030.

Eclipse OpenJDK build is supported until at least November 2026.

https://www.oracle.com/java/technologies/java-se-support-roadmap.html

https://adoptium.net/support/

Arne

Knute Johnson

unread,
Aug 13, 2022, 4:13:56 PM8/13/22
to
You are right about that Arne, you can pay for support. It's still
toast though:

https://blogs.oracle.com/java/post/end-of-public-updates-is-a-process-not-an-event


Every new beginning comes from some other beginning’s end

Java SE 8 was released on March 18th in 2014. By the time Oracle Java SE
8 reaches the end of public updates for commercial users in January
2019, Oracle will have provided almost five years of continuous, free
public updates.

With an Oracle Java SE Subscription, commercial users can continue to
benefit from support and regular updates to Oracle Java SE 8, including
enhancements and critical patches, for an even longer period of time.
For example, the Java Web Start technology will continue to be
commercially supported in Oracle Java SE 8 until at least March 2025.

Not all users of Oracle Java SE 8 use it commercially. Some use it to
play games, or to run consumer productivity applications. Oracle will
continue to provide free public updates of Oracle Java SE 8 for personal
users until at least December 2020. During that time, personal users
should contact their application providers and encourage them to migrate
their applications to the latest version of Java, or else switch to
alternative applications.

Knute

Martin Gregorie

unread,
Aug 13, 2022, 6:28:03 PM8/13/22
to
Both OpenJava 8 and 11 are also supported under Fedora Linux,

Arne Vajhøj

unread,
Aug 13, 2022, 7:51:41 PM8/13/22
to
On 8/13/2022 4:13 PM, Knute Johnson wrote:
> On 8/12/22 19:21, Arne Vajhøj wrote:
>> On 8/12/2022 4:11 PM, Knute Johnson wrote:
>>> Java 8 is way beyond end of life.
>>
>> No.
>>
>> Oracle commercial Java 8 is supported until December 2030.
>>
>> Eclipse OpenJDK build is supported until at least November 2026.
>>
>> https://www.oracle.com/java/technologies/java-se-support-roadmap.html
>>
>> https://adoptium.net/support/
>
> You are right about that Arne, you can pay for support.  It's still
> toast though:
>
> https://blogs.oracle.com/java/post/end-of-public-updates-is-a-process-not-an-event
>
> Every new beginning comes from some other beginning’s end
>
> Java SE 8 was released on March 18th in 2014. By the time Oracle Java SE
> 8 reaches the end of public updates for  commercial users in January
> 2019, Oracle will have provided almost five years of continuous, free
> public updates.
>
> With an Oracle Java SE Subscription, commercial users can continue to
> benefit from support and regular updates to Oracle Java SE 8, including
> enhancements and critical patches, for an even longer period of time.
> For example, the Java Web Start technology will continue to be
> commercially supported in Oracle Java SE 8 until at least March 2025.
>
> Not all users of Oracle Java SE 8 use it commercially. Some use it to
> play games, or to run consumer productivity applications. Oracle will
> continue to provide free public updates of Oracle Java SE 8 for personal
> users until at least December 2020. During that time, personal users
> should contact their application providers and encourage them to migrate
> their applications to the latest version of Java, or else switch to
> alternative applications.

You can pay Oracle and get updates until 2030.

You can get updates for free for Eclipse OpenJDK build
until at least 2026.

It is only toast for those that don't want to pay and don't
want to use the open source version.

Arne

Arne Vajhøj

unread,
Aug 13, 2022, 7:53:44 PM8/13/22
to
On 8/13/2022 6:27 PM, Martin Gregorie wrote:
> On Fri, 12 Aug 2022 20:21:14 -0400, Arne Vajhøj wrote:
>
>> On 8/12/2022 4:11 PM, Knute Johnson wrote:
>>> Java 8 is way beyond end of life.
>>
>> No.
>>
>> Oracle commercial Java 8 is supported until December 2030.
>>
>> Eclipse OpenJDK build is supported until at least November 2026.
>>
>> https://www.oracle.com/java/technologies/java-se-support-roadmap.html
>>
>> https://adoptium.net/support/
>
> Both OpenJava 8 and 11 are also supported under Fedora Linux,

Yes.

The Redhat OpenJDK builds of Java 8 has the same EOL as
the Eclipse OpenJDK builds: November 2026.

https://access.redhat.com/articles/1299013

Arne


0 new messages