

You can set this up by following our Debian 10 initial server setup guide. One Debian 10 server with a non-root, sudo-enabled user.When you’re finished, you’ll be able to use the JDK to develop software or use the Java Runtime to run software. You’ll then select the version you wish to use for your projects.

You’ll install OpenJDK 11 as well as the official Java 11 software from Oracle.

In this guide, you will install different versions of the Java Runtime Environment (JRE) and the Java Developer Kit (JDK) using Debian’s apt package management system. If you use this plugin on your instance, make sure to be compliant with license terms.Java and the JVM (Java Virtual Machine) are required for many kinds of software, including Tomcat, Jetty, Glassfish, Cassandra and Jenkins. See Oracle Java SE License FAQ for more information. Public updates for Oracle Java SE 8 released after January 2019 are not be available for business, commercial or production use without a commercial license.Oracle Java SE 11+ is not available for business, commercial or production use without a commercial license.There are some license constraints which should be taken into account while using this plugin. If an external download is needed due to any reason, AdoptOpenJDK Plugin might be used instead of this plugin. The recommended approach is to download the JDK distribution using other installers, for example downloading it from a well known URL (preferably hosted on your own network) with ZIP Tool Installer, having it pre-installed in agent docker images, or executing a script to do the job. It could happen because Oracle's website change or even if Oracle bans our downloads due to excessive bandwidth or whatever other reason). As it relies on the Oracle's website to do the job, it's highly likely to stop working. We want to warn that this plugin is NOT a good practice for production environments. Before version 1.3 the plugin was named as "JDK Tool Plugin", but it was renamed later to reflect what it actually does. The installer provided by the plugin used to be a part of the Jenkins core before it was detached to a separate plugin in Jenkins 2.112. This plugin provides a tool installer for installing Oracle Java SE Development Kit in Jenkins.
