• Run old programs with Java SE 8 (LTS)?

    From mark@ZigHozs@mycomp.com to alt.os.linux.ubuntu on Sun Apr 11 06:01:48 2021
    From Newsgroup: alt.os.linux.ubuntu

    Last java version can't run software from 2014.

    Can I somehow run that old program with java 1.8?
    And not removing my current java version?

    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From stepore@linshine@here.now to alt.os.linux.ubuntu on Sat Apr 10 23:28:12 2021
    From Newsgroup: alt.os.linux.ubuntu

    On 04/10/2021 09:01 PM, mark wrote:
    Last java version can't run software from 2014.

    Can I somehow run that old program with java 1.8?
    And not removing my current java version?



    Yes.
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From mark@ZigHozs@mycomp.com to alt.os.linux.ubuntu on Mon Apr 12 02:49:03 2021
    From Newsgroup: alt.os.linux.ubuntu

    On 4/11/21 8:28 AM, stepore wrote:
    On 04/10/2021 09:01 PM, mark wrote:
    Last java version can't run software from 2014.

    Can I somehow run that old program with java 1.8?
    And not removing my current java version?



    Yes.

    How can I run that old program with java 1.8?

    current java -version
    openjdk version "11.0.10" 2021-01-19
    --- Synchronet 3.18a-Linux NewsLink 1.113
  • From stepore@linshine@here.now to alt.os.linux.ubuntu on Sun Apr 11 21:18:33 2021
    From Newsgroup: alt.os.linux.ubuntu

    On 04/11/2021 05:49 PM, mark wrote:

    How can I run that old program with java 1.8?

    current java -version
    openjdk version "11.0.10" 2021-01-19


    Install the java 1.8 package and use update-alternatives to choose which
    java you want to be default. Or just grab the openJDK java 1.8 tgz file. Unpack it somewhere you want (like /opt/) and then call java binary via
    the path. E.g. /opt/java/jre/bin/java your-old-program
    --- Synchronet 3.18a-Linux NewsLink 1.113