Doesn’t IntelliJ use its own bundled JRE? If that’s the case, it won’t matter which JRE you have installed.
You can still get JRE, but they aren't as official as they used to be until Java 8.
And in any case, customization flags for which GC to use, or JIT caches, are part of any Java runtime implementation.