Archived
This forum has been archived. Please start a new discussion on GitHub.
How does Java application by JNLP load property settings in Java resources?
According to Alternate Property Stores - Ice 3.4 - ZeroC
The ice configuration file can be loaded from java resources by defining ICE_CONFIG Environment Variable. However, in JNLP, there is no way to set the env var to start a Java application.
Of coz, I can read the config file and format those option strings by code. However, is there any simpler method to do that?
The ice configuration file can be loaded from java resources by defining ICE_CONFIG Environment Variable. However, in JNLP, there is no way to set the env var to start a Java application.
Of coz, I can read the config file and format those option strings by code. However, is there any simpler method to do that?
0
Comments
-
You can use the load method of the Properties interface. See The Properties Interface - Ice 3.4 - ZeroC0