Incompatible JVM message when trying to install eclipse

801
April 14, 2017, at 02:31 AM

I just completed a Selenium Webdriver course using a borrowed windows laptop. However as I use Macs at home I am trying to install Eclipse on my own iMac using OSX 10.11.4.

I downloaded and ran the installer for Eclipse but I got the error message "Incompatible JVM - version 1.7.0_79 of the JVM is not suitable for this product. Version 1.8or greater is required"

So I installed the latest version of java (1.8) which went fine, however when I try to launch Eclipse again I get the same message. And when I enter Java -version into the terminal I still java version "1.7.0_79"

I did a bit of digging around and I came across a thread from a couple of years back Java 1.7 on OSX 10.9.2 running as 1.5? which appears to state that the solution to this is

rm -rf ~/Library/Java/Extensions sudo rm -rf /Library/Java/Extensions

Now I am not a very technical person and when I entered these commands into the terminal window I got the message :

ARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

So I aborted until I can find out if this is still the solution as this was the solution 3 years ago and is this all I need to do to get this issue fixed.

Any help would be very much appreciated

Rent Charter Buses Company
READ ALSO
Is it standard practice create an instance of a class within that class?

Is it standard practice create an instance of a class within that class?

I've come across some code in class Foo with method doSomething() which creates an instance of class foo

373
RESTClient cannot connect to Oauth 2.0 server

RESTClient cannot connect to Oauth 2.0 server

I have an existing Grails 25 rest api server which is being used by an android client regularly

394
How to perform scheduled tasks without blocking threads [on hold]

How to perform scheduled tasks without blocking threads [on hold]

Suppose we have 3 threads Lets t1, t2, t3 What I want is that t1 perform task while other two wait for them where t1 completes all of the transactions/tasks, after sometime say 10 seconds t2 executes all tasks, then t3 will get finish then the process...

323