Solution:
Put the options in _JAVA_OPTIONS environment variable.
For Linux
put the following in your ~/.profile or ~/.bash_profile:
export _JAVA_OPTIONS="-Djava.net.preferIPv4Stack=true"
For Windows
Variable Name: _JAVA_OPTIONS
Variable Value: -Djava.net.preferIPv4Stack=true
Put the options in _JAVA_OPTIONS environment variable.
For Linux
put the following in your ~/.profile or ~/.bash_profile:
export _JAVA_OPTIONS="-Djava.net.preferIPv4Stack=true"
For Windows
Variable Name: _JAVA_OPTIONS
Variable Value: -Djava.net.preferIPv4Stack=true
No comments:
Post a Comment