Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse JRE or JDK missing

Tags:

java

eclipse

I am trying to use Eclipse on a friends computer but we keep getting this when we run Eclipse

enter image description here

We have the environmental variable set as well.

enter image description here


Edit

it was working before he installed the black berry plug in.

like image 312
FabianCook Avatar asked Aug 03 '12 00:08

FabianCook


2 Answers

The variable JAVA_HOME is not required by Eclipse. If your Java installation does not put the Java executables in the PATH, you should add those manually.

A faster way to have your Eclipse up and running consists in modifying the eclipse.ini and using the -vm option.

http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Windows_Example

like image 50
user827992 Avatar answered Sep 23 '22 06:09

user827992


I had the same problem. For me, I needed the JDK. So I had to install the JDK. It should match the build platform that is, 64bit vs. 32bit windows. After that, I removed, the -vm line from the eclipse.ini file (the suggested fix). It was giving me the "Can't create virtual machine" error. The current release of JDK is version, 7 whereas the Android Developers Toolkit version of eclipse is currently based on JDK 6. But it seems to work. Eclipse came up and is functional. Haven't actually written a program yet.

like image 43
user2406589 Avatar answered Sep 24 '22 06:09

user2406589