Java Access Bridge 安装无法在 64 位计算机上运行?
我正在尝试让 JAB 工作,以便我可以抓取java 窗口中出现一些文本,但它失败得很厉害。
奇怪的是,虽然它不能在我的机器上运行,但它可以在其他机器上运行。
我的机器:7,64位
适用于:7 32 位(已测试 2 个盒子)、XP 32 位
常见的情况是,如果您不安装 Sun 的 JAB 设置应用程序(正如我在我的开发计算机上没有安装的那样),不起作用。如果您确实安装了安装应用程序,它似乎可以工作。
进程监视器不会显示执行期间无法找到任何 DLL。
以前有人遇到过这个问题吗?安装来自 Sun 的二进制文件是唯一的解决方案吗?有什么办法解决这个问题吗?
I'm trying to get JAB working so I can scrape some text out of a java window, but its failing horribly.
The odd thing is that while it doesn't work on my machine it does work on other machines.
My machine: 7, 64bit
Works on: 7 32bit (2 boxes tested), XP 32bit
The common thing appears that if you don't install the JAB setup application from Sun, as I haven't done on my dev machine, it doesn't work. If you do install the setup application, it appears to work.
Process Monitor doesn't show that any DLLs cannot be located during execution.
Has anyone encountered this issue before? Is the only solution to install the binaries from Sun? Is there any way around this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
终于成功了。 [删除了不专业的咆哮...该死的,钻石!] 在 64 位机器上进行 JAB 的步骤:
jaccess-1_4.jar
和access-bridge.jar
复制到c:\program files (x86)\java\jre6\ lib\ext
.根据您阅读本文的时间,您可能需要检查文档以找出应将哪些 jar 文件放置在哪些位置。很糟糕,我知道。accessibility.properties
移动到 JRE 的根目录:c:\program files (x86)\java\jre6\lib
。 不这样做会破坏刺拳。如果将此文件放在lib
文件夹中,它将不起作用。这种扭曲会让你痛苦两天。如果有什么不同的话,7 号将会比他们中的任何一个都搞砸更多的人,因为文档并不清楚这个文件的去向。
Finally got it working. [Unprofessional rant removed... damn you, diamond!] Steps to JAB on a 64bit box:
jaccess-1_4.jar
andaccess-bridge.jar
toc:\program files (x86)\java\jre6\lib\ext
. Depending on when you read this you might have to check the docs to figure out what jar files to place in what locations. Sucks, I know.accessibility.properties
to the root directory of the JRE:c:\program files (x86)\java\jre6\lib
. FAILURE TO DO THIS BREAKS JAB. If you place this file in thelib
folder it will not work. This is the twist that will screw you for two days.If anything, number 7 is going to screw up more people than any of them as the documentation isn't clear as to where this file goes.