Reputation: 17
This is strictly for Mac OS Catalina 10.15.4
Upvotes: 2
Views: 3620
Reputation: 17
Had to remove jdk folder from disk using the following commands. sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Oracle/Java
From there I had to re-install the .dmg file from Oracle.
Now when I type 'java --version' in Terminal I get the version type etc. Then when I type 'which java' it shows 'usr/bin/java'
Not sure if I need to change my path in .zsh environment but I am getting a different error in Appium now:
'An unknown server-side error occurred while processing the command. Original error: could not sign with default certificate. Original error spawn ENOTDIR'
Upvotes: 0