javapowershelljava-access-bridge

How do I check if Java Access Bridge is enabled? (PowerShell)


I have created a utility that checks for various perquisites/requirements needed for a machine setup. But, I am running into an issue where I want to check if JAB (Java Access Bridge) is enabled or disabled through PowerShell either through a location path of a file or registry entry would be great.

There is this website documentation that references how to use the jabswitch.exe to enable or disable JAB via command line, but as mentioned above, I am wanting to check if enabled/disabled. https://docs.oracle.com/javase/9/access/enable_and_test.htm#JSACC-GUID-7890D37B-16F2-48EC-B45F-2A6CF0613EE5

Is this possible to do (Without taking a screenshot in the Control Panel\Ease of Access\Ease of Access Center)?


Solution

  • If you look at the source code of jabswitch you find that it does two things: