If you are facing this “Service directory is not valid” error in Oracle BPM 12c while creating a new or updating an existing adapter, this may be due to absolute file path containing space in it.
Remove the space, Restart Jdev and you are good to go.
1) Download these two JAR files from below link
2) Run this Command in CMD
3) Once Popup opens up, come to 5th window by doing next-next
4) This Screen would come up post installation