Signed applet does not work in browser

I have an applet that reads from a microphone with this code

(defn mic []
  (let [info (DataLine$Info.
              (get-class)
              (get-format))
        line (AudioSystem/getLine info)
        out (ByteArrayOutputStream.)]
    (.open line)
    (.start line)))

it is signed with "$ jarsigner name-of-project-XXX-SNAPSHOT-standalone.jar sawaw", but it still doesn’t open from the browser When I grant write permission (java.policy file) and open it using appletviwer, It works great. How can I make it work in a browser without a policy file?

+3
source share

All Articles