This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Mastering Corda: Blockchain for Java Developers and have Jamiel Sheikh on-line!
See this thread for details.
Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

signned applet on JVM 1.4.2

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The applet is running fine on MS VM, JVM 1.3.1 and 1.4.1. However on JVM 1.4.2, an exception is generated. access denied (java.lang.RuntimePermission loadLibrary.testX

After some test, i found that it is because of the loadlibrary permission is not granted.

I add in the following in the java policy file and the applet is working file.

grant {
permission java.lang.RuntimePermission "loadLibrary.CeloSign_Java";
permission "${java.home}\\lib\\ext\\x86\\testX.dll", "read";
permission java.util.PropertyPermission "java.ext.dirs", "read";

Does someone had any idea, why is JVM 1.4.2 so different ?
What can i do in order avoid this modification of java policy ?

eat bricks! HA! And here's another one! And a tiny ad!
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic