This step assumes you've already done HW0.2 and HW0.3.
There are a handful of Java demos, written by other people, that we'll use throughout the class. Most of these were designed to run as applets in web pages, but modern web browsers don't support embedded Java applets (they're a security risk). Instead, there's a standalone program called “Java Web Start” that lets us run the applets as standalone programs.
Hand-in: follow these steps and then take a screenshot that shows both your terminal window and the running demo application.
On the command line, navigate to the directory where you downloaded the demo file. Then enter the following command (note that the > is just the prompt; it's not part of the command):
> javaws bezier_splines_java_jnlp.jnlp
Hopefully, the next thing that happens should be that you get a bunch of security errors. Java is (rightly) configured to not allow you to run untrusted programs like this. You need to introduce some exceptions.
System Preferences...
. You should see “Java” near the bottom row. (If not, skip to the step below in which you update Java.) Click this.In either case, a “Java Control Panel” window should pop up. Select the Security
tab, and then add these four entries to your “Exception Site List”:
http://www.graphics.cs.brown.edu http://graphics.cs.brown.edu http://www.cs.brown.edu http://cs.brown.edu
Close out of all the settings dialogs and go back to step 2.
Start
button, then Right-click “Computer” and select Properties
. Look under “System” to see which platform you're on.