Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleJava Development Kit (JDK)

Do I need to install a JDK? The short answer is NO (smile)

Starting with ONOS 2.2 (master at the time of writing), we no longer require to install a JDK in your system to build and run ONOS . Insteadwhen using Bazel, as we use a version of OpenJDK 11 that comes is shipped with Bazel.

However, you might still need to install a Java Runtime Environment (JRE) or JDK if you want to run some of the development tools (e.g. onos-lib-gen, etc.) or if you want to run ONOS without using Bazel. In this case, we suggest installing Amazon Corretto, a free, easy-to-install, production-grade OpenJDK build from Amazon:

https://aws.amazon.com/corretto/ 

If you plan to build and run a version of ONOS prior to 2.2, you should install JDK 8, otherwise, feel free to install the more recent JDK 11.

...