[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[m2e-users] m2e using my JRE to run javaw.exe within eclipse
|
Hi all,
I'm having a pretty significant problem with m2e in eclipse. First, build info. I'm using
Eclipse Indigo Service Release 1, 20110916-0149
m2e 1.0.200.20111228-1245
JDK 1.7.0_02
I also have installed
JRE7 (important later)
My problem is that when I right click on a project, select "Run As," and select any of the maven targets (except for "Maven build..." which allows me to specify information), my JRE (the aformentioned JRE7) will be invoked to perform the task. JRE7's javaw.exe will be used, and my compiles/installs will FAIL because javac, etc will not be available.
My JAVA_HOME is set to the JDK
Eclipse is started using the JDK
In eclipse preferences, Java -> Installed JREs, I have both the JRE and JDK, and the JDK is checked
I modified my eclipse.ini to include
-vm
C:/Program Files/Java/jdk1.7.0_02/bin/javaw.exe
Yesterday, the eclipse.ini change SEEMED like it was causing this to work, but today I've regressed to the earlier behavior.
Any help in trying to figure out just how to fix this permanently would be tremendously appreciated.
Thanks,
Adam