Java

Harshavardhan Gangavarapu
Harshavardhan Gangavarapu
9,106 Points

can't install jshell

jshell

Command 'jshell' not found, but can be installed with:

sudo apt install openjdk-11-jdk-headless

harsha@DESKTOP-P5F1GV2:~$ sudo apt-get install openjdk-11-jdk-headless Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: mongodb-org : Depends: mongodb-org-server but it is not going to be installed Depends: mongodb-org-mongos but it is not going to be installed Depends: mongodb-org-tools but it is not going to be installed openjdk-11-jdk-headless : Depends: openjdk-11-jre-headless (= 11.0.3+7-1ubuntu2~18.04.1) but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).