在Java 1.7中,从一开始就捆绑了Java Access Bridge。它说,您需要做的就是运行jabswitch.exe -enable
来为此特定的JRE启用JAB。
当您从安装程序获取JRE时,此方法工作正常。但是,仅在Windows上部署Java应用程序时,您可能希望捆绑JRE以便于安装。捆绑JRE后,似乎无法激活Java Access Bridge
有没有办法在捆绑的JRE中启用Java Access Bridge?
最佳答案
我认为命令行开关需要 / 而不是-
例如jabswitch.exe /启用
这是命令行帮助
jabswitch.exe /help
jabswitch [/enable | /disable | /version | /?]
Description:
jabswitch enables or disables the Java Access Bridge.
Parameters:
/enable Enable the Java Accessibility Bridge.
/disable Disable the Java Accessibility Bridge.
/version Display the version.
/? Display this usage information.
Note:
The Java Access Bridge can also be enabled with the
Windows Ease of Access control panel (which can be
activated by pressing Windows + U). The Ease of Access
control panel has a Java Access Bridge checkbox. Please
be aware that unchecking the checkbox has no effect and
in order to disable the Java Access Bridge you must run
jabswitch.exe from the command line.
另外,对于JAWS,请尝试获取JAB 2.0.4随附的Java7更新60,因为此版本修复了JAWS的错误。