NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set Java VM args?

Hi, I posted here previously where I was wondering how I would integrate Teststand with an Eclipse RCP Application.
I have wrapped the RCP Application in a RMI Server which can communicate with a RMI client. I want Teststand to integrate with the client but there are some problems.
My RMI client needs to have some Java VM args set, i.e. the security policy and the codebase.

-Djava.security.policy
-Djava.rmi.server.codebase

Is there any way of specifying these when the JVM is started in Teststand? Personally, I dont have a good feeling about it 🙂
I have looked at the StartJVM code in the JavaCall DLL and it only uses the classpath arg but I am hoping that the JavaCall.c file is out of date!
I have an eval version of Teststand 4.0.1

thanks in advance
0 Kudos
Message 1 of 2
(5,165 Views)

Hi Barry,

this would require some investigation from us as it is a quite complicated issue.  If you have a Standard Service Program (SSP), you can generate a Service Request by calling or e-mailing your local branch.

Regards,

KostasB

NIUK Applications Engineering

0 Kudos
Message 2 of 2
(5,096 Views)