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

    From Martin Gregorie@21:1/5 to All on Thu Aug 11 23:55:28 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=c3=b8j?=@21:1/5 to Martin Gregorie on Thu Aug 11 20:09:15 2022
    On 8/11/2022 7:55 PM, 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.

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Martin Gregorie on Fri Aug 12 08:10:34 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Fri Aug 12 08:09:21 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Gregorie@21:1/5 to [email protected] on Fri Aug 12 16:51:22 2022
    On Fri, 12 Aug 2022 08:10:34 -0700 (PDT), [email protected] wrote:

    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.

    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.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Knute Johnson@21:1/5 to Martin Gregorie on Fri Aug 12 15:11:17 2022
    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.

    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/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Fri Aug 12 14:05:58 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Gregorie@21:1/5 to Knute Johnson on Fri Aug 12 20:21:33 2022
    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 ;-)







    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Gregorie@21:1/5 to [email protected] on Fri Aug 12 22:18:18 2022
    On Fri, 12 Aug 2022 14:05:58 -0700 (PDT), [email protected] wrote:

    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.

    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.


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=c3=b8j?=@21:1/5 to Knute Johnson on Fri Aug 12 20:21:14 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Knute Johnson@21:1/5 to All on Sat Aug 13 15:13:41 2022
    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/

    Arne


    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Gregorie@21:1/5 to All on Sat Aug 13 22:27:49 2022
    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/

    Arne

    Both OpenJava 8 and 11 are also supported under Fedora Linux,


    --

    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=c3=b8j?=@21:1/5 to Martin Gregorie on Sat Aug 13 19:53:27 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=c3=b8j?=@21:1/5 to Knute Johnson on Sat Aug 13 19:51:23 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)