JDK-8173712 : Rename JAVA_OPTIONS environment variable to JDK_JAVA_OPTIONS
Type:Bug
Component:tools
Sub-Component:launcher
Affected Version:9
Priority:P2
Status:Closed
Resolution:Fixed
Submitted:2017-01-31
Updated:2017-05-17
Resolved:2017-02-08
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
JAVA_OPTIONS support added by JDK-8170832 is currently disabled due to the conflict of existing use of JAVA_OPTIONS by applications.
Comments
We agree to rename <TOOL>_OPTIONS environment variable to `JDK_<TOOL>_OPTIONS`. The multi-word name should minimize the risk of the name clash.
A few other names are considered such as <TOOL>_LAUNCHER_OPTIONS, <TOOL>_CMD_OPTIONS, or <TOOL>_OPTIONS_9 (version-specific environment variables in 9). This environment variable is for JDK tool and `JDK_` prefix seems the best choice among the other suggested names. We can decide to introduce version-specific env variables in 10 if required.