Is it possible (and how) to run eclipse in the JDK , and not in the JRE ?When I open eclipse, I keep getting the following error:
Eclipse is running in a JRE, but a JDK is required
(error is generated by m2eclipse plugin)
UPDATE:Here are some of the relevant settings that I already have:
UPDATE 2Following the bounce tips, I split -vm and the path between the lines, and now I get the following after starting the eclipse:
My configuration:
Two things you need to check:
-, Eclipse Windows > > Java > JRE. "JRE", - , JDK (, JRE), - JDK), , JRE JDK
, eclipse.ini( eclipse), , notepad ++ ..) :
-vm C:/Java/jdk1.6/bin/javaw.exe
(, javaw.exe JDK)
.ini , , .
. -, , maven , . , . , , C:\WINDOWS\system32 java.exe, javaw.exe javaws.exe. , - (, PATH), JDK eclipse.ini.
Just install the latest JDK from Sun ^ WOracle - Eclipse (and related tools) should automatically pick it up.
Eclipse itself can work with a simple JRE, but maven requires a JDK.