Zolf
asked on
Eclipse Maven
hello there,
i am using eclipse Galileo and installed maven recently. but i get this message in the eclipse console when i start eclipse.what is it and how do i get rid of it.
9/4/10 9:13:22 AM IRDT: Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
9/4/10 9:13:24 AM IRDT: Updating index central|http://repo1.maven.org/maven2
9/4/10 9:13:27 AM IRDT: Downloading d9d714e11cb097b3ffcec91ccc c65d3e : nexus-maven-repository-ind ex.propert ies
9/4/10 9:13:27 AM IRDT: Downloaded Repository[d9d714e11cb097b 3ffcec91cc cc65d3e|http://repo1.maven.org/maven2/.index]/ nexus-mave n-reposito ry-index.p roperties
9/4/10 9:13:28 AM IRDT: Updated index for central|http://repo1.maven.org/maven2
i am using eclipse Galileo and installed maven recently. but i get this message in the eclipse console when i start eclipse.what is it and how do i get rid of it.
9/4/10 9:13:22 AM IRDT: Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
9/4/10 9:13:24 AM IRDT: Updating index central|http://repo1.maven.org/maven2
9/4/10 9:13:27 AM IRDT: Downloading d9d714e11cb097b3ffcec91ccc
9/4/10 9:13:27 AM IRDT: Downloaded Repository[d9d714e11cb097b
9/4/10 9:13:28 AM IRDT: Updated index for central|http://repo1.maven.org/maven2
ASKER
i have jdk on my machine. i am also using it to develop my java application.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
3 things here one of which you have tried http://hpanswers.blogspot.com/2008/06/remove-blue-colour-background-beyond-or.html
oops., sorry wrong thread lol
ASKER
thanks for your comments. i have jre,but when i try to add jdk.i just get to see jre which i already have.am i missing something.please help
9-4-2010-9-41-22-AM.gif
just checking my config, one sec
ASKER
Mine is like that. I do not have Maven and never seen this error in Eclipse before. Let me check a little.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
do i select the jdk or the jre.you see i have maven plugin installed in eclipse.after this i started getting this message. that link you provided is helpful.but i am not sure about jdl/jre
forget the jre in settings. just try the eclipse.ini
what is your line to jvm.dll?
eg look for something like this. if u find it verify the path
-vm
C:\JavaJDK\Java\jdk1.6.0_0 1\jre\bin\ client\jvm .dll
what is your line to jvm.dll?
eg look for something like this. if u find it verify the path
-vm
C:\JavaJDK\Java\jdk1.6.0_0
ASKER
cheers
ASKER
my eclipse.ini is like this
-startup
plugins/org.eclipse.equino
--launcher.library
plugins/org.eclipse.equino
-product
org.eclipse.epp.package.je
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion
-Xms40m
-Xmx512m
ASKER
i dont see the -vm
ASKER
got it.
so u got it going then?
did u try adding the -vm line with the right path to the jvm.dll?
did u try adding the -vm line with the right path to the jvm.dll?
ASKER
yes,got it working as you mentioned. cheers mate
cool. glad your all sorted.
JDK available here http://www.oracle.com/technetwork/java/javase/downloads/index.html
then try and see what issues you get