Is it possible to configure java in unix to always add a JRE parameter whenever java is run?
e.g. -Dcom.sun.management.jmxremote.port=25800
|
|
||||
|
|
|
You can create a wrapper script and add it to your path. Something like this
Call it java-local.sh or some other fancy name and just use it in place of the
|
||||
|
|
IBM java has support for a stracing openjdk during startup, seems to indicate that it does not look for any ".properties" files, so I am guessing that the answer is no. But there might be a Java expert come along with a better answer. |
|||
|
|
|
You could create an alias
You could also play around with Application Resource Files which may be more appropriate. |
||||
|
|
