eclipse is running in a jre, but a jdk is required
I tried multiple ways and I could not get rid of the Console warning:
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
1. I have my java_home point to my JDK
2. I have my STS Eclipse "Installed JRE" configured with JDK JRE
3. I tried to include -vm C:/MyPrograms/jdk1.6.0_18/bin/javaw in the STS.ini
4. I tried to bring it up directly using one of the commands. I got an error: Could not find the main class: -v C:\Program. Program will exit. Could not figure out why it is referencing C:\Program because I have been trying to reference everything to C:/MyPrograms.
stsc -vm C:/MyPrograms/jdk1.6.0_18/bin/javaw.exe
stsc -vm C:/MyPrograms/jdk1.6.0_18/bin/javaw
sts -vm C:/MyPrograms/jdk1.6.0_18/bin/javaw.exe
sts -vm C:/MyPrograms/jdk1.6.0_18/bin/javaw
Sharing your thoughts are appreciated.
Solved: m2eclipse: Eclipse is running in a JRE, but a JDK is required
G:\study\eclipse-jee-galileo-SR2-win32\eclipse\eclipse.exe -vm "E:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe"
This works fine. :)
Architecture and R2ds, Channels and Framework, Software Engineer | HSBC Technology and Services - Global Technology
HSBC Software Development (India)Limited
GLT 4.0 - Panchshil Tech. Park, Block D, S.No. 19, Hissa 2A/11/2, Yerawada, Pune, 411006.
Mobile. +91 9822622054