Problem with Maven in Eclipse, changing from JRE to JDK
Kari Nordmann
Ranch Hand
Joined: Feb 12, 2007
Posts: 38
posted
0
I'm trying to get Maven to work with my Eclipse. I have installed it, but every time I run Eclipse I get this message:
03.02.09 11:22:27 CET: Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
I have installed JDK, but I can't figure out how to make Eclipse run in JDK instead of JRE. I tried the Maven installation guide, I tried searching in Eclipse Help, but I havent found out.
Can anyone help me?
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32712
4
posted
0
That sort of question is usually asked in other parts of the Ranch.
You can also use the -vm parameter when calling the eclipse executable.
Something like this: eclipse.exe -vm=%JAVA_HOME%\bin\javaw.exe (if you're using windows)