0

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.

Imtiaz Kabir
  • 119
  • 4
  • 8

1 Answers1

0

appletviewer was removed in JDK 11, having been deprecated in JDK 9.

Applets are no longer supported:

Deprecated.

The Applet API is deprecated, no replacement.

You'll need to install an older JDK, or modify your software.

Joe
  • 29,416
  • 12
  • 68
  • 88