Why can't I run a JApplet in IntelliJ?

306 Views Asked by At

I am learning Java from the Oracle documentation page: https://docs.oracle.com/javase/tutorial/reallybigindex.html

I am using Intellij on Linux Mint and I had no problems until I got to JApplets. Whenever I am trying to run my code now I get the following error:

Error: Could not find or load main class sun.applet.AppletViewer Caused by: java.lang.ClassNotFoundException: sun.applet.AppletViewer

Can someone point me in the right direction?

0

There are 0 best solutions below