Skip to main content

Updating Java 7 to Java 8 (historical guide, version 2019.1)

Historical guide: End of Java 7 support in ABRA Flexi version 2019.1 and migration to Java 8

Written by Petr Pech

🚨 Historical guide. This describes the end of support for Java 7 in ABRA Flexi version 2019.1 (January 2019) and the transition to Java 8. ABRA Flexi currently requires Java 11, and starting with version 2024.7.0, Java is included in the installation — see Transition to Java 11 in version 2024.7.0 and System requirements. The links and commands provided below may not work on current systems.

End of Java 7 support

As of January 2019, specifically since ABRA Flexi version 2019.1, we have discontinued support for Java version 7 for running the ABRA Flexi application. If you were using version 7, it was necessary to update it in order to continue running ABRA Flexi on both computers and servers.

Java 7 had been outdated and unsupported by Oracle for quite some time. A newer version of Java allowed us to make use of modern technologies while also ensuring higher data security.

Checking your Java version

The best way to check your Java version is directly within the ABRA Flexi application, in the menu Help → About Flexi → Application details. The version label starts with the prefix "1." — Java 7, for example, corresponds to 1.7.0_171 OpenJDK 64-Bit Server VM 1.7.0_171-b11.

If your system was using version 7, an update was required.

Update — Windows

On the page java.com/en/download, click the Free Java Download button. Before installing, close all applications that use Java (including Flexi). Run the downloaded package and follow the installer.

Update — macOS

The Flexi installer should take care of installing Java 8 if you don't already have it. If this doesn't happen, you can download the Java installation package from java.com/en/download and follow the installation wizard.

Update — Linux

First, try the official repositories using your distribution's package manager (apt, yum, dnf, etc.). Some older OS versions may not offer the latest Java versions in their official repositories. In that case, a manual installation is required.

Manual installation — Ubuntu (webupd8team PPA)

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Manual installation — Debian / Ubuntu (archive from java.com)

Go to java.com/en/download/linux_manual.jsp to get the download link for the JRE matching your architecture (32/64-bit, not RPM).

wget $adresa
sudo mkdir /opt/java
sudo tar -zxf $stazenyBalicekJavy -C /opt/java
# například java bude v /opt/java/$verze/bin/java
sudo update-alternatives --install /usr/bin/java java /opt/java/$verze/bin/java 100

Manual installation — Fedora / CentOS / RedHat

Go to java.com/en/download/linux_manual.jsp to get the link to the appropriate RPM package (32/64-bit).

wget $adresa
sudo rpm -Uvh $stazenyBalicek
sudo alternatives --install /usr/bin/java java /usr/java/latest/bin/java 200000

You can verify the installation was successful by running java -version in the terminal.

Related articles

Did this answer your question?