security policy file - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

test
Posts: 1
Joined: Thu Jul 19, 2007 2:08 pm

security policy file

Hi, i'm new in this forum and i'm using AI for the first time. I've done several searches here and on web to find a solution, but i've not solved nothing.
I've creted a program writed in Java that can be executed from command line with the -Djava.security.policy=... switch for set JVM socket security policy.

How can i use policy text file or how can i set security using Advanced Installer? Thank you very much.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Thank you for your interest in Advanced Installer!

This is how you can set the JVM parameter:
- create a new "Java Application" project

For a tutorial about this you can see:
http://www.advancedinstaller.com/user-g ... -java.html

- create a new Java Product in the "Java Products" page which will contain your java application
- go to the "Virtual Machine" tab and press the "..." button in the right of the "JVM Parameters" edit box
- in the "System Properties" section create a new parameter like this:

Code: Select all

Name: java.security.policy
Value: your_value
Hope this helps!

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”