Run local java applet in browser (chrome/firefox) “Your security settings have blocked a local application from running”

后端 未结 8 1067
囚心锁ツ
囚心锁ツ 2020-12-17 09:32

I\'m trying to run a Java Applet (html file), but the browser keeps saying:

\"Your security settings have blocked a local applicatio

相关标签:
8条回答
  • 2020-12-17 10:27
    1. Make a jar file from your applet class and META-INF/MANIFEST.MF file.
    2. Sign your jar file with your certificate.
    3. Configure your local site permissions as > file:///C:/ or http: //localhost:8080
    4. Then run your html document on Intenet Explorer on Windows.(Not Google Chrome !)
    0 讨论(0)
  • 2020-12-17 10:28

    just add your .jar file in applet tag as an attribute as shown below:

    <applet
        code="file.class"
        archive="file.jar"
        height=550 
        width=1100>         
    </applet>
    
    0 讨论(0)
提交回复
热议问题