How to Download Java Applets

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
View the source code of a Web page to find the location of the Java applets it contains.

Developed by Sun Microsystems, Java is an object-oriented programming language. It allows programmers to compile programs into class files—sometimes referred to as "applets"—that can run on any computer that has the Java Runtime Environment software installed. If you encounter an applet on a Web page, you have the option of downloading the associated class file to your computer. The process takes just a few clicks, once you know where to look.

Advertisement

Step 1

Open your Web browser and navigate to the page containing the Java applet you want to download.

Video of the Day

Step 2

Right-click in a blank area on the page and select "View Source," "View Page Source" or "View Document Source."

Advertisement

Step 3

Press the "Ctrl" and "F" keys simultaneously to bring up the search tool.

Step 4

Type ".class" (without quotation marks) in the search field and press the "Enter" key to locate the name of the file within the source code.

Advertisement

Step 5

Highlight the entire class file name contained between the quotation marks (e.g., "filename.class").

Step 6

Press the "Ctrl" and "C" keys simultaneously to copy the filename to the clipboard.

Advertisement

Advertisement

Step 7

Single-click the URL contained in the address bar along the top of your Web browser window.

Step 8

Press the "End" key to move the cursor to the end of the address, and then press the "Backspace" key until you have deleted all of the text that appears following the last "/" character in the URL.

Advertisement

Step 9

Press the "Ctrl" and "V" keys simultaneously to append the name of the Java applet to the existing URL.

Step 10

Press the "Enter" key.

Step 11

Save the class file to your computer when prompted by your Web browser.

Video of the Day

Advertisement

Advertisement

references