I have the same problem, with the IDE. If urgent for my case, download jdk-8u171-nb-8_2-linux-x64.sh from netbeans.org.
Before install run autoremove openjdk-8-"all" and netbeans if is installed.
And then install jdk-8u171-nb-8_2-linux-x64.sh this package contains jdk 8
Best
Alejandro
I have the same problem, with the IDE. If urgent for my case, download jdk-8u171- nb-8_2- linux-x64. sh from netbeans.org.
Before install run autoremove openjdk-8-"all" and netbeans if is installed.
And then install jdk-8u171- nb-8_2- linux-x64. sh this package contains jdk 8
Best
Alejandro