Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

version 1.7 of the jvm is not suitable for this product. version 1.8 greater is required for eclipse nano in window

I am trying to launch Eclipse Nano in Windows 7, but getting the error:

Version 1.7 of the JVM is not suitable for this product. version 1.8 greater is required for Eclipse Nano in Windows 

I already have Java 8 installed on the system

like image 209
shashigura Avatar asked Aug 18 '16 14:08

shashigura


2 Answers

sudo /usr/sbin/update-alternatives --config java

and select the jvm 1.8

like image 146
Javi Avatar answered Oct 07 '22 01:10

Javi


tips for windows users

Version 1.7 of the JVM is not suitable for this product. version 1.8 greater is required

  • user get above error message because they had multiple jdk version or they do not have latest version of jdk installed , even if you install latest version of jdk and you if you have not removed old version of jdk like 1.7 you will get the above error message , so better to get rid of old version of jdk and jre etc.

-> ignore this step if you have insallted latest version of jdk already download 32 or 64 bit latest jdk from : https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

-> go to C:\Program Files\Java and look for old version of jdk , let say if you have 1.7 versions of jdk delete them so that you are left only with latest version , you can remove old versions of jre too here just by deleting. -> next run eclipse you will not get v1.7 message

like image 25
user889030 Avatar answered Oct 06 '22 23:10

user889030