When I am trying to run an applet using appletviewer from ubuntu terminal it says
Command 'appletviewer' not found, but can be installed with:
sudo apt install openjdk-11-jdk sudo apt install openjdk-8-jdk
I have tried to install openjdk-11-jdk using 'sudo apt install openjdk-11-jdk' it installed perfectly. writing java -version in terminal shows
openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3) OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing)
writing 'which java' shows /usr/bin/java
but writing 'which appletviewer' shows nothing.
Please help me, I am new to Linux and java.