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?
Finally got it working. [Unprofessional rant removed... damn you, diamond!] Steps to JAB on a 64bit box:
jaccess-1_4.jar
and access-bridge.jar
to c:\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 the lib
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.