I am trying to set the Java system property jsse.enableSNIExtension to false, but when I try running this java just outputs help information:
java -Djsse.enableSNIExtension=false
What am I doing wrong?
|
I am trying to set the Java system property
What am I doing wrong? |
||||
|
|
|
You forgot the name of the class to run. Normally Java programs are run like this:
You can use
As far as I know you can't set system properties permanently; even if you did it programmatically it would only be for that run, so you need to keep passing the |
|||