I'm a novice trying to learn Android Application Development
1 posts in topic
Flat View  Flat View

Posted By:   Paul_Bamber
Posted On:   Friday, February 11, 2011 11:53 PM

Re: Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders.
Topic: Eclipse
Frederick Brock, Jul 17, 2008
you need to start eclipse with -vm option and point it to the jdk. For example I installed jdk6 in C:jdk6 so when I start eclipse I start it with a command line of: eclipse -vm C:jdk6 in This instructs eclipse to use the JDK vs the built in jre that eclipse ships with.

This is my problem too but I need the solution told to me as if I'm a 10 year old boy (although a 10 year old probably knows more than I do) lol


Re: I'm a novice trying to learn Android Application Development

Posted By:   Tim_Frith  
Posted On:   Monday, February 14, 2011 05:09 PM

Install the jdk

Start Eclipse

Go to Window - Preferences

Go to Java - Installed JREs

Click the Add button

Choose Standard VM and click Next

Click the Directory... button beside JRE Home

Browse to your jdk install directory (eg C:/jdk1.6.0_18)

Click the OK button

Click the Finish button

Set the JDK as the default by checking the check box to the left of the JDK under Installed JREs

Click the OK button to close Preferences

That should do it - the JDK should now be your default instead of the JRE.

Menu/setting/button names may differ slightly between Eclipse versions.

About | Sitemap | Contact