Home > Програм хангамж > Eclipse is running in a JRE, but a JDK is required

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

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

Advertisement
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.