i have installed jdk 11 and bluej but bluej is not opening while installing it shows miky@miky:~/snap/firefox/common/Downloads$ sudo dpkg -i BlueJ-linux-420.deb [sudo] password for miky: (Reading database ... 206183 files and directories currently installed.) Preparing to unpack BlueJ-linux-420.deb ... Unpacking bluej (4.2.0) over (4.2.0) ... dpkg: dependency problems prevent configuration of bluej: bluej depends on openjdk-11-jdk (>= 11); however: Package openjdk-11-jdk is not installed. Version of openjdk-11-jdk on system, provided by oracle-java11-installer:amd64, is . bluej depends on libopenjfx-java (>= 11); however: Package libopenjfx-java is not installed.
dpkg: error processing package bluej (--install): dependency problems - leaving unconfigured Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Errors were encountered while processing: bluej