How to specify System Properties when launching JShell?

Brian Oliver brian.oliver at oracle.com
Wed Mar 8 12:23:15 UTC 2017


Hi All,

I’m starting to use JShell (awesome btw) but can’t find any documentation on how to specify a system property on start up.

Specifically I want to set:

	java.net.preferIPv4Stack=true

While I can specify a system property by invoking:

	System.setProperty(…);

This basically ignores all JVM-level properties.

Ideally I’d like to specify them when setting up the environment, but it’s not clear how to do this.

Thanks

— Brian

PS: My apologies if this has been answered, but I can’t find it or any documentation on the subject.

Brian Oliver | Architect | brian.oliver at oracle.com
Oracle Coherence Development
35 Network Dr | Burlington, MA 01803





More information about the kulla-dev mailing list