Java Runtime Envirronement (JRE) Installation

java runtime

A Java runtime environnement (JRE) is required to use DiscoveryMat. Depending on the way you choose to install DiscoveryMat software, you need or don't need to install yourself the JRE. According to the installation technique you have chosen, the JRE is already included in the DiscoveryMat software. You need only to install yourself a JRE in the folowing case:

  • Installation with portable zip-archive without JRE.
  • Installation with deb or rpm package under Linux.
  • Raspberry Pi version.
  • Recommended JRE version is 21.

    Windows

    For Windows, you can download the Java runtime JRE at this official link: Download 64 bits JRE

    Linux Ubuntu Install

    First, it can be useful to uninstall any old JRE/JDK version. See above section for uninstall. Note that DiscoveryMat requires at least 21 JRE.

    Example: Ubuntu 22.04

    sudo apt-get update

    sudo apt-get install openjdk-21-jre

    Linux Ubuntu Uninstall

    Example : Ubuntu 22.04

    You can previously uninstall older version by example like this:

    sudo apt-get remove --purge oracle-java8-installer

    sudo apt-get remove --purge openjdk-11-jdk

    sudo apt-get remove --purge openjdk-11-jre

    Tip

    You can see which is the installed version with the following commands:

    java -version

    dpkg --list '*jdk*'

    dpkg --list '*jre*'

    dpkg --list '*oracle*'