Reputation: 2895
Hi I'm wanting to test some applets and I'm just running it in my local browser from the file on my computer. But I am getting a security error
Your security settings have blocked an untrusted application from running
I am new to applets so maybe I am missing something out? I am just using basic paint method and drawing.
how can I test this file on my own computer?
Upvotes: 0
Views: 97
Reputation: 9816
You could do one of the following four things:
And please note that in some browsers you also have to enable the java plugin...
Upvotes: 1
Reputation: 147164
Sine April 2013, even untrusted applets need to be signed with a valid certificate for "best user experience". See Java Applet & Web Start - Code Signing on Oracle's site. At the time of writing the current release notes for 7u51 describe recent changes. The Java Platform Group blog is worth reading.
If you're following an applet tutorial, updated online material is probably better than a book.
Upvotes: 2