I solved this by deleting SAP GUI from the Applications folder and the Library/Preferences/SAP folder.
I did save the connections file from preferences.
After I reinstalled SAP GUI, I placed the connections file in the newly created Preferences/SAP folder, and Eclipse worked fine.