JDK-7074494 : Disabling "enable JavaFX 2.0" checkbox in JCP does not work.
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7-client
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-08-03
  • Updated: 2011-09-22
  • Resolved: 2011-08-17
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 Availabitlity Release.

To download the current JDK release, click here.
7u2 b03Fixed 8Fixed
1. Install jre7-pro-b147
2. Install fx2.0-pro-b38
3. Open JCP to Uncheck "Enable JavaFX Runtime", click "OK"
4. Reopen JCP, if you see "Enable JavaFX Runtime" is checked again, the issue is reproduced

EVALUATION The problem is that now that we switched to unicode, sizeof(TCHAR) is not 1, so need sizeof(TCHAR) * (len + 1) for last arg of RegSetValueEx both here in RegFX.cpp, and several other places in UpdateCOnf.cpp

EVALUATION JCP executes the following command to disable FX: ssvagent -high -jpisetup -new -disableFX. executing that command directly also does not disable FX The registry key: HKLM/SOFTWARE/Oracle/JavaFX/Disabled, get set to "fa" instead of "true" when disabling, and set to "fa" instead of "false" when enabling.