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.
Thanks,
Benl


Reply With Quote
