BFOIT - Introduction to Computer Programming

Java Applet Browser Gotcha

Starting around 2015, support for Java applets embedded in web pages was discontinued. The reason for removing support had to do with security. It is a shame that one of Java's initial promises, a secure environment for program execution on the web, was not maintained.

The TG programming environment running as an applet was provided for experimenting as you are reading through the lessons. If you want to write programs that are more than just a few lines long you should go with work-around #2. Running TG as an application on your computer allows you to save and reload programs from your system's disk storage.

Work-around #1

Java is a popular programming language, popular enough that if you search for "is there a web browser that still supports java applets" you will find some helpful information. The top link I was presented, ) How to get a browser that supports Java, dated May 2017, appears to be good advice. Here is a bit from it

    Oracle recommends Microsoft Internet Explorer for people on Windows who
    still want to run Java applets in their browser. Internet Explorer 11
    still supports NPAPI plug-ins, including Java. You can even run it on
    Windows 10. You don't have to run Edge, Microsoft's modern browser, if
    you don't want to.

    Mozilla Firefox's "Extended Support Release" (ESR) apparently still
    supports NPAPI and thus Java. 

Work-around #2

Embedding the TG programming environment in the lessons provided convenient access to it - read about some code and then try it out right there on the web page. Another way to access the programming environment is to run it as an application, in its own window in parallel with your browser. Appendix H (Installation of TG) describes how you can do this.

Public Domain Mark
This work (BFOIT: Introduction to Computer Programming, by Guy M. Haas),
identified by Berkeley Foundation for Opportunities in IT (BFOIT),
is free of known copyright restrictions.