...
To get the best development experience for ONOS, the team suggests using IntelliJ 2018.2 with 2019.3.4 with the Bazel plugin installed.
You can find and download IntelliJ 2018.2 version versions here: https://www.jetbrains.com/idea/download/previous.html
...
These settings have the JDK home setup for OS X (/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk<JDK-VERSION>/Contents/Home
). For Linux, select File... Project Structure... SDKs... then edit the JDK home path for 1.8 to be /usr/lib/jvm/java<JDK-8-oracleVERSION>
. If IntelliJ is throwing errors such as "cannot resolve symbol string", the JDK home is likely incorrect.
...
Then we will make sure that the newly created ONOS copyright profile is the default and we are done.
Next Steps
The ONOS Screencasts page provides helpful videos on importing, debugging, and developing ONOS with IntelliJ.
...