![]() ![]() Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)Īfter all of this, however, I get the same "Failed to find a Main Class" error on the dialog as reported initially here, and the same "UnsupportedClassVersionError" on the CLI that I had when the system was still on java 6, so now I am still stuck and out of ideas. Java(TM) SE Runtime Environment (build 1.8.0_171-b11) ![]() The solutions I found for that were not feasible in MacOS starting in version El Capitan, and I am on High Sierra, so I followed the instructions in this post to fix that, and it worked, now I get: java -version When googling that, the answers said that the reason for that is that the Oracle installer does not update the symlink in /usr/bin, which seemed to be confirmed by the fact that running java -version returned this: java -version Then I tried to run from the command line, and got this error: Exception in thread "main" : org/eclipse/equinox/launcher/Main : Unsupported major.minor version 51.0 When running eclipse again I started getting this error. Then I also installed the latest JRE (jre-8u171-macosx-圆4 as of yesterday). I first installed eclipse Photon, which when starting up prompted me to install Java 6, which I did from I have the same issue, but on my MacBookPro.
0 Comments
Leave a Reply. |