Archive

Archive for January 15, 2011

Eclipse is running in a JRE, but a JDK is required

January 15, 2011 Leave a comment

open eclipse or STS getting popup message:
Eclipse is running in a JRE, but a JDK is required Some Maven plugins may not work when importing projects or updating source folders.
in your eclipse.ini file located in your eclipse install dir.
add these bold text:

-vm
C:/Program Files/Java/jdk1.7.0/bin/javaw.exe

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1.R36x_v20100810
-product
com.springsource.sts.ide
–launcher.defaultAction
openFile
–launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m
-XX:MaxPermSize=256m

Follow

Get every new post delivered to your Inbox.