0

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?

1

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

1 Comment

so how exactly would i test this locally on my own computer?
1

You could do one of the following four things:

  1. Sign your applet with an official certificate
  2. Lower your security bar in the java system settings to medium
  3. Sign your applet with an self-signed applet and put your certificate in the java trust store
  4. Put your URL to the exception site list of java

And please note that in some browsers you also have to enable the java plugin...

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.