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

Comments
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
2011-08-03

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.
2011-08-03