You mean like this?
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzaha/sdpropf.htm



-----Original Message-----
From: David Gibbs via JAVA400-L [mailto:java400-l@xxxxxxxxxxxxxxxxxx]
Sent: Thursday, March 14, 2019 3:24 PM
To: java400-l@xxxxxxxxxxxxxxxxxx
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: 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 ...

Follow-Ups:
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.