cancel
Showing results for 
Search instead for 
Did you mean: 

JAB & SwingSet2.jar trouble

Paweł_Imiołek
Level 4

Hello,

I am confused how to access Java applications via Blue Prism. I have already installed:

- Java Development Kit 1.8.0 (update 291),
- Java Runtime Environment 1.8.0 (update 291).

In Ease to Access section of Control Panel I ticked the 'Enable Java Access Bridge' option.
Then tried to launch BPHotels.jar from Blue Prism University Java Automation Training. The Action of Business Object launched cmd and then closed it. No instance of that application was visible.
What to do in such situation?
And where to find SwingSet2.jar file? It wasn't attached to my JRE installation folder as it should have been.

Greetings,
Paweł Imiołek

3 REPLIES 3

Ben.Lyons1
Staff
Staff
Hi Pavel,

When I've had difficulty getting the Java Access Bridge to work, I've had success trying the following (machine admin permission required):

- Locate files called "accessibility.properties" in (this is from memory, as I don't have the same configuration at the moment)
  • c:\Program Files\Java\jdk1.5.0\jre\lib\ext
  • c:\Program Files (x86)\Java\jre7\lib\ext
- Open the file as admin, using notepad (alternatively when saving, you can save to desktop and copy back to the correct folder)
- I believe there is a line like "assistive_technologies=com.sun.java.accessibility.AccessBridge", which may have a "#" at the beginning
- Delete the "#" and save the file.

This may resolve the JAB connection.

​​
Ben Lyons
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based

Paweł_Imiołek
Level 4
Hello, Ben,

Thank you for your rapid response. I have just located "accessibility.properties" file and moved it to the folders you had mentioned. They had not had existed there before.
I checked whether it included "#" comment character at the beggining of that line with assistive_technologies value assignment.
Unfortunately (or fortunately - it depends) the file structure is valid.
Launching file via BP works the same way regardless of jabswitch -enable or -disable, which means that Command Prompt is visible for a while and then everything is closed without any popping up message.
36491.png

Ben.Lyons1
Staff
Staff
Hi Pawel,

Apologies, I did not mean for you to move the file to those locations, I must have got them wrong. They were fine where they were, but that removing the "#" from them on the row concerning the access bridge may resolve the issue.

If this still doesn't work though, I would recommend raising a support ticket so we can look into this in more detail.

Thanks
Ben Lyons
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based