aruna sameera wrote:what happen when i useddifferent versions of jdk and jre to the eclips.i mean if i used 1.4 jdk and 1.6 jre.
(Not Sure)Mostly you wont get any problem . but you cant do vice-versa ,you will get an exception
sameera liyanage
Ranch Hand
Joined: Nov 25, 2008
Posts: 643
posted
0
but there is a problem.i have installed maven plugin in my eclips.when i am openning it says my eclips.ini files vm is refering to jre.it asking to chang it to the jdk.
ihave chang it but as this.
Freddy Wong wrote:Nothing will happen For your Eclipse, you use always use JDK. You can't use JRE to compile your Java applications.
That's not true with Eclipse; Eclipse contains its own built-in Java compiler, it does not use the Java compiler supplied with the JDK.
aruna sameera wrote:but there is a problem.i have installed maven plugin in my eclips.when i am openning it says my eclips.ini files vm is refering to jre.it asking to chang it to the jdk.
Maven needs a JDK to run. In Eclipse, look at Window / Preferences / Java / Installed JREs. Make sure both your JRE and JDK are registered there.
Aruna, each line in eclipse.ini should hold only one token, thus change it to two lines. Also, I think you need to specify the full path to either the java.exe or jvm.dll: