Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/336.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在捆绑的JRE中启用Java访问桥?_Java_Java Access Bridge - Fatal编程技术网

如何在捆绑的JRE中启用Java访问桥?

如何在捆绑的JRE中启用Java访问桥?,java,java-access-bridge,Java,Java Access Bridge,在Java1.7中,Java访问桥从一开始就是捆绑的。它说,您所需要做的就是运行jabswitch.exe-enable,为这个特定的JRE启用JAB 当您从安装程序获得JRE时,这可以正常工作。但是,当仅为Windows部署Java应用程序时,您可能希望捆绑JRE以便于安装。当JRE被捆绑时,似乎不可能激活Java访问桥 有没有办法在捆绑的JRE中启用Java访问桥?我认为命令行切换需要/而不是- e、 g.jabswitch.exe/enable 这是命令行帮助 jabswitch.exe

在Java1.7中,Java访问桥从一开始就是捆绑的。它说,您所需要做的就是运行
jabswitch.exe-enable
,为这个特定的JRE启用JAB

当您从安装程序获得JRE时,这可以正常工作。但是,当仅为Windows部署Java应用程序时,您可能希望捆绑JRE以便于安装。当JRE被捆绑时,似乎不可能激活Java访问桥


有没有办法在捆绑的JRE中启用Java访问桥?

我认为命令行切换需要/而不是-

e、 g.jabswitch.exe/enable

这是命令行帮助

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 update 60,因为该版本修复了JAWS的一个错误。

您需要执行三个步骤(描述配置:Windows 7 64位、专用JRE 8 64位和JAWS 14):

  • 复制
    \jre\bin\WindowsAccessBridge-64.dll
    C:\Windows\System32
    ,如Oracle站点所述:
  • (未记录)导入以下注册表文件:

    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Accessibility]
    "Configuration"=",oracle_javaaccessbridge"
    
  • (未记录)将JRE二进制文件位置添加到用户的
    PATH
    环境变量(例如
    C:\mydir\JRE\bin

  • 确保在
    辅助功能.属性中有未注释的行:

    assistive_technologies=com.sun.java.accessibility.AccessBridge
    screen_magnifier_present=true
    

    另外,在启动Java应用程序之前先启动JAWS。

    请检查:在执行
    jabswitch.exe-enable
    之前,也不要忘记以管理员身份打开命令提示符。感谢您提供的提示。这是我读过的文档,我以管理员身份运行了该命令。它仍然不起作用,我在Java1.8中也遇到了同样的问题。您是否在捆绑的jre中启用了java访问桥?将WindowsAccessBridge-64.dll复制到System32文件夹(正如指南建议的那样)对于私有jre没有任何帮助。当我安装了一个带有jabswitch-enable(d)的公共JRE和我的私人JRE时,一切都很好,但是当我禁用或删除它时,JAWS停止了所有的读取