Nice!  It's been a long time since I've had to worry about JVM properties.

On 3/14/2019 3:29 PM, Sabella, Todd - 43 wrote:
I think you would want to use

QIBM_JAVA_PROPERTIES_FILE

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzaha/sysprop.htm


-----Original Message-----
From: JAVA400-L <java400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of David Gibbs via JAVA400-L
Sent: Thursday, March 14, 2019 4:24 PM
To: java400-l@xxxxxxxxxxxxxxxxxx
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: [EXTERNAL] Set java system properties based from properties file instead of command line?

Folks:

Does anyone know if there is a way to invoke Java code (on the i or not) so that system properties are loaded from a property file instead of the command line?

What I want to do is avoid using -Dproperty=value or PROP((property value)) and just specify a property file that all those system properties would be specified in.

Thanks!

david




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.