The hard part is done! Now all we have to do is put our files in a place where users on the Internet can access them. You may be working on a system that hosts web pages, or you may need to upload your files to another server. That is up to you to figure out. Once you know the directory in which to place your files to be access on the web, make a subdirectory within that directory. Call it myfirstapplet. In this directory, place your index.html file and your MyFirstApplet.jar file in this subdirectory. Next, make sure the file permissions are correct for these files. On a UNIX system, index.html should have 644 permissions and MyFirstApplet.jar should have 755 permissions (the subdirectory, myfirstapplet, and each directory above it within the web directory should have 755 permissions). To change the permission on a file, using the following command:
chmod 644 index.html chmod 755 MyFirstApplet.jar
And that's it! You should now be able to access your applet from the Internet! Simply point your browser at the appropriate website, adding /myfirstapplet/ to the end of the URL. With any luck, your applet will load. To see what your applet should look like, click here.
If you are having issues, check out the Troubleshooting section (7).