You have to pass `--enable-preview` to BOTH compiler and runtime.
If you think about it - the feature may change significantly or be even removed - it makes sense to only support a preview features in one java version.
Providing backward compatibility for preview features is simply not intended.