Trying to get a signed applet to work in a browser but fails miserably

前端 未结 1 1955
有刺的猬
有刺的猬 2021-01-14 15:40

I created a JApplet which uses two external libraries (JENA and JUNG). The applet works correctly when i run it from the IDE (using eclipse). I created a jar file, signed it

相关标签:
1条回答
  • 2021-01-14 15:54
    1. You should use <PARAM NAME="archive" VALUE='applet.jar, external1.jar, external2.jar'> in your applet declaration in the HTML. You can also try adding Class-Path to your MANIFEST.MF of the main jar (see here)
    2. No. Unless you have a Main-Class specified in your MANIFEST.MF
    3. Yes, in case the external jars do some security-sensitive operations (like reading/writing the file system)
    4. No.
    0 讨论(0)
提交回复
热议问题