[Resolved] unsupported major.minor version 52.0
This is a generic issue. I solved it using the following steps.
- Uninstall Java completely
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -fr ~/Library/Application\ Support/Java
# Remove Java runtime from the root of your system
cd /Library/
rm -rf Java/
For me the following installing following Java version resolved the issue
java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)