Edit online

Installing Oxygen XML Author on Linux

System Requirements

Operating System

The product has been fully tested on Ubuntu 20.04. The latest version of Oxygen XML Author might work on other flavors/versions of Linux, but they have not been officially tested.

  • Minimum - Intel/AMD CPU, 1 GHz
  • Recommended - Dual-core class processor
  • Minimum - 3 GB of RAM
  • Recommended - 8 GB of RAM
  • Minimum - 1 GB free disk space
  • Recommended - 2 GB free disk space
Oxygen XML Author only supports official and stable Java Virtual Machines with version 1.8 from Oracle. If you use the Linux installer, Oxygen XML Author will be installed with its own copy of Java with the specific update version that has been thoroughly tested.
All Platforms Package
If you use the all platforms package, your system must have a compatible Java 1.8 virtual machine installed. To see the exact Java update version that is supported, go to www.oxygenxml.com, navigate to the Download page for the particular product you are installing, and click on the tab for your particular platform.
Note: Oxygen XML Author may work with other versions of Java, but since Oxygen XML Author has only been thoroughly tested with specific versions, there is no guarantee that it will be stable with any other Java version.
Attention: Oxygen XML Author does not work with the GNU libgcj Java Virtual Machine.
Oxygen XML Author uses the following rules to determine which installed version of Java to use:
  1. If you used the Linux installer, which installs a version of Java as part of the Oxygen XML Author installation, the version in the jre subdirectory of the installation directory is used.
  2. Otherwise, if the Linux environment variable JAVA_HOME is set, Oxygen XML Author uses the Java version pointed to by this variable.
  3. Otherwise, the version of Java pointed to by your PATH environment variable is used.
You can also change the version of the Java Virtual Machine that runs Oxygen XML Author by editing the script file, oxygenAuthor.sh. Go to the Java command at the end of the script file and specify the full path to the Java executable of the desired JVM version. For example:
/usr/bin/jre1.8.0_121/bin/java -Xmx1024m ...
The version of Java bundled with Oxygen XML Author requires X.org (Wayland is not supported).

Linux Installer

To install Oxygen XML Author using the Linux installer, follow these steps:
  1. Make sure that your system meets the system requirements.
  2. Download the Linux installer.
  3. [Optional] Validate the integrity of the downloaded file by checking it against the MD5 sum published on the download page.
  4. Run the installer and follow the instructions in the installation program.
    Note: For example, open a shell, cd to the installation directory, and at the prompt type sh ./oxygen-32bit.sh or sh ./oxygen-64bit.sh, depending on which installer you downloaded.
    Warning: If you are running the installer as root and your Linux distribution uses Wayland (such as Ubuntu 17.10 or Fedora 25), before running the installer, the local user must first allow the root user to access the X server by running the following command (as the local user):
    xhost +SI:localuser:root
  5. Start Oxygen XML Author using one of the following methods:
    • Use the author shortcut created by the installer.
      Note: For Ubuntu 17.10 (or later), a security dialog box will appear the first time you start the application where you need to select Trust and Launch to continue. This dialog box will not appear on subsequent launches.
    • From a command line, type sh oxygenAuthor.sh. This file is located in the installation folder.
  6. To license your copy of Oxygen XML Author go to Help > Register and enter your license information.

Linux Unattended Installation

You can run the installation in unattended mode by running the installer from the command line with the -q parameter. By default, running the installer in unattended mode installs Oxygen XML Author with the default options and does not overwrite existing files. You can change various options for the unattended installer using the installer command-line parameters.

Linux Installer Command-Line Reference

The Oxygen XML Author installer for Linux supports a variety of command-line parameters.

Commonly Used Command-Line Parameters

The Oxygen XML Author installer supports the following commonly used command-line parameters:

Instructs the installer to run in unattended mode. The installer will not prompt the user for input during the install. Default settings will be used for all options unless a response.varfile is specified using the -varfile option.
In unattended mode, the installer does not overwrite files with the same name if a previous version of the Oxygen XML Author is installed in the same folder. The -overwrite parameter added after the -q parameter forces the overwriting of these files.
Displays a console during the installation.
Specifies the location of a response.varfile, normally to be used during an unattended installation.
Used to define a variable parameter to be used by an installation.
oxygen.sh -q -overwrite -console -VautoVersionChecking=false
Command-Line Parameters for Preconfiguring License Server Details

The Oxygen XML Author installer also supports the following command-line parameters used for preconfiguring license server details:

Specifies the URL of the HTTP license server.
Specifies the user name for the HTTP license server.
Specifies the password for the HTTP license server, in clear form (will be stored encrypted).
Specifies the password for the HTTP license server, in encrypted form. Can be obtained from an entry with the same name in an existing license.xml file (found in: [user_home_directory]/.com.oxygenxml.author).
Specifies the URL of the backup HTTP license server.
Specifies the user name for the backup HTTP license server.
Specifies the password for the backup HTTP license server, in clear form (will be stored encrypted).
Specifies the password for the HTTP license server, in encrypted form. Can be obtained from an entry with the same name in an existing license.xml file (found in: [user_home_directory]/.com.oxygenxml.author).
oxygen.sh "-Vlicense.servlet.url=http://main.licenseserver:8080/oXygenLicenseServlet/license-servlet"
 "-Vlicense.servlet.user.name=user" "-Vlicense.servlet.password=mypass" 
 "-Vbackup.license.servlet.user.name=user" "-Vbackup.license.servlet.password=mypass"

Linux Installer response.varfile

The Oxygen XML Author installer for Linux also creates a file called response.varfile, which records the choices that the user made when running the installer interactively. The generated response file is found in the [OXYGEN_INSTALL_DIR]/.install4j folder. You can use the response.varfile to set the options for an unintended install. For more information about the response.varfile format, see install4j site.

Variable Parameters (can be used in the response.varfile or from the command line)

The following variable parameters are supported in the response.varfile (or from the command line):

Used for automatic version checking. Possible values are true (default) or false.
Used to report a problem encountered while using Oxygen XML Author. Possible values are true (default) or false.
Used to download resources (links to video demonstrations, webinars, and upcoming events) from https://www.oxygenxml.com to populate the application welcome screen. Possible values are true (default) or false.