[BZ 1069648] Persist JAVA_OPTS from connection settings for Standalone se...

...rvers.
I think you can use resourceContext.getSystemInformation().getOperatingSystemType() instead of a new constant