How to disable security warning alert -> applet has requested access to local printer

I am using a java applet for accessing a client side printer however each time while print command goes it alert a security warning as "applet has requested access to local printer, Do you want to allow this action?". When I check "always allow" even though it alert every time.
How to disable this Security alert using programm not by using any browser setting?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It is only possible if you sign your applet with a properly signed certificate.
SuhashkAuthor Commented:
Thanks for solution
But how to sign applet with a properly signed certificate.
Check out this:

You can do this free using self signed certificate. But still it will confirm to the user if he accept the certificate or not. If certificate is accepted by user, it will never ask user for permission to print.

The only solution to get rid of this is to purchase certificate from a authorised certification authorities. 


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

SuhashkAuthor Commented:
1. When using following command :

      jarsigner -keystore 44store -storepass store123 -keypass key123 -signedjar xyz.jar xyz.jar signFiles

2. Following error occurs:

# An unexpected error has been detected by HotSpot Virtual Machine:
#  SIGBUS (0x7) at pc=0xb77cdd03, pid=3349, tid=3086723280
# Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing)
# Problematic frame:
# C  []
# An error report file with more information is saved as hs_err_pid3349.log
# If you would like to submit a bug report, please visit:

3. This generates a log file as hs_err_pid3349.log (Attached with this comment)

SuhashkAuthor Commented:
1. Using following command:

   /usr/bin/jarsigner -keystore 44store -storepass store123 -keypass key123 -signedjar Barcode.jar Barcode.jar signFiles

2. Above error gone but getting  following jarsigner error :
    jarsigner error: gnu.javax.crypto.keyring.MalformedKeyringException: incorrect magic
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Applications

From novice to tech pro — start learning today.