Installing

    The instructions are for Debian-based and RPM-based distributions. They should be similar on other Linux distributions.

    On Debian and Ubuntu, it is easiest to use OpenJDK, as it is available in the standard package repositories. Similarly, Maven is available from a repository.

    1. Install the development tools

      You can install all the needed development tools with:

      Show code

      Expand code

    If your system does not have installed, run the above commands as root.

    Fedora and RHEL

    On Fedora (since 18) and RHEL (since 8), you use the DNF package manager.

    1. Install the development tools:

      Show code

      Expand code

      1. sudo dnf -y install java-11-openjdk.x86_64 maven
    2. Ensure that you are running Java 11 by running:

      Show code

        If you are not using 11, change it with:

        Show code

        Expand code

        Select OpenJDK 11.

      1. Install the development tools:

        Show code

        Expand code

        1. sudo yum install -y java-11-openjdk-devel.x86_64 maven
      2. Ensure that you are running Java 11 by running:

        Show code

        Expand code

        If you are not using 11, change it with:

        Show code

        Expand code

      OpenSuSE

      Show code

      Expand code

      1. sudo zypper install java-11-openjdk maven

      Depending on your system version, you may need to install package repositories or do some other steps.

      On Arch Linux, you use the pacman package manager as follows:

      Show code

      Expand code

      Depending on your system version, you may need to install package repositories or do some other steps.

      Installing Amazon Corretto

      If you want to install Amazon Corretto rather than OpenJDK, you either have to add the package repository or install it from a DEB, RPM, or a tar package.

      See:

      • Instructions for installing from APT (Debian) or YUM (RPM) repository in

      Now that you’ve installed development tools, you can start a new Vaadin application project.

      Start a Project