Source:Installing and Managing Java

From SEPsesam

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Draft.png WORK IN PROGRESS
This article is in the initial stage and may be updated, replaced or deleted at any time. It is inappropriate to use this document as reference material as it is a work in progress and should be treated as such.
Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Beefalo. For previous documentation version(s), check documentation archive.


Overview

The SEP sesam graphical user interface (GUI) is used to configure and manage SEP sesam and its environment. SEP sesam GUI is platform independent – it is based on Java and requires a Java Runtime Environment. The required Java version depends on SEP sesam version. To ensure that SEP sesam is running correctly, make sure to install and configure a supported Java version. See Java Compatibility Matrix for details.

Java is required on all systems that serve as SEP sesam Server, SEP sesam GUI client or SEP sesam Remote Device Server (RDS) when Si3 deduplication is used. Java is not required for SEP sesam Client (does not provide GUI) or for SEP sesam RDS if Si3 deduplication is not used.

The two main implementations of Java are OpenJDK and Oracle Java. As the differences between them are not that significant from the SEP sesam point of view and with Oracle announcing the end of free support for past versions of Java as well as the Oracle JDK binary no longer be free for use in production from JDK 11 on, SEP sesam introduced support for OpenJDK LTS (long term support) distributions that are available free of charge. Note that HiDPI displays are supported with the relevant Java version.

Prerequisites

  • On Windows, you may need Administrator privileges to install Java.
  • On Linux, all commands have to be executed as a root user or as an administrative user with the sudo command prefixed. Make sure to install Java before you install SEP sesam packages.
  • It is recommended to disable your firewall before starting installation.
  • If you already have Java installed and you want to use multiple Java versions, make sure to configure the required version as explained in the section Configuring Java. If you do not need multiple Java versions, remove the Java installations not required by SEP sesam.

The following procedure shows how to install OpenJDK on Windows and Linux.

Installing Java

How you install Java depends on the operating system as well as on the version you intend to install; you can install OpenJDK or Oracle Java. After installing the required Java version, you may have to enable and configure it.

  • Windows download and installation of Oracle Java is easy and pretty straightforward: Download the SEP sesam recommended Java directly from the provided link, then run the installer – and you are set.
  • Linux download and installation of Oracle Java depend on the type of installation packages: either it is an archive binary file (.tar.gz) or an RPM binary file (.rpm) for 32-bit RPM-based Linux platforms, such as Red Hat and SuSE. Ensure that your Java installation type (.tar.gz or .rpm) matches SEP sesam installation package; if the SEP sesam Server is going to be installed as an .rpm package, Java must also be installed as .rpm.
  1. Download the required Oracle Java JDK rpm binary package.
  2. Install Java using the rpm command. Make sure you change the version number appropriately
rpm -ivh jdk-<version>.rpm

For example, to install Oracle Java JDK 11 (LTS):

rpm -ivh jdk-11.0.3_linux-x64_bin.rpm

Then exit the root shell (reboot is not required). By default, Java JDK is installed in /usr/java/ directory. To install Oracle JDK to a custom directory, use rpm -ivh –prefix=/<path>/ rpmfile command. Once installed, you can delete the .rpm file.

Now you need to set up JAVA environment variables.

OpenJDK on Windows

To install OpenJDK on Windows, you need to download, unzip and modify JAVA_HOME. Alternatively, you can use the .msi installer TBD???

  1. Sign in with the Administrator account and download the required version. Then extract the zip file into a folder, typically C:\Program Files\Java\. A jdk-<no> folder is created (where the number depends on your installed version, for example, jdk-11 folder (where the bin folder is a direct sub-folder).
  2. Set a PATH:
  1. Select Control Panel -> System -> click Advanced -> Environment Variables. Then add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
  2. The PATH variable example: C:\Program Files\Java\jdk-11\bin"
  3. Set JAVA_HOME: Under System Variables, click New and enter the variable name as JAVA_HOME. Then enter the variable value as the installation path of the JDK (without the bin sub-folder). Click OK and Apply Changes.

OpenJDK on Linux

To install OpenJDK on Red Hat Enterprise Linux, you must be running Red Hat Enterprise Linux 6. Verify that your RHE and Java versions are compatible.

  1. Log in with administrator access and download the required version.

Verifying Java version

To verify that your Java version is installed correctly, open up the Command Prompt and type

java -version

See also

Java Compatibility MatrixSEP sesam Quick Install Guide