• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up a Android SDK environment help. while opening Eclipse error message of no virtual machine

 
micah ansel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am very new to this, and have searched and tried for weeks trying to get my android dev phone hooked up to the emulator. I am having trouble getting Eclipse to start up, getting an error message, a jre or jdk must be available, no virtual machine was found after searching following locations: C:\eclipse-jee-galileo-win32\eclipse. I have tried changing the classpath variables and target shortcuts and putting code in the ini. file. I am running vista 32 bit and have downloaded the correct 3.5 version of eclipse and have tried 3. 3 and 3.4. I also have Java 6 and J2RE.

If someone could patiently please help a want to be android developer get started, much appreciation would be given. I would even send a paypal donation if you have one set up! haha. Please.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your Eclipse IDE is not setup properly to run Java Programs. Make sure you have appended the location of JRE(path to JRE installation directory) to the "PATH" environment variable. Optionally, you can explicitly specify the location of the virtual machine(Refer this).

Note: The IDE forum would have been the right place to ask this question(maybe, one of the moderators will move it eventually). Also, please format your message properly.
 
Greg Zimmers
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No need for paypal! Here is a very detailed and easy to follow step by step guide for setting up everything you need to get started.
The tutorial will show you how to install and configure
  • Eclipse 3.5
  • Android 2.1 (Android SDK rev 4)
  • JAVA (JDK 6 Update 18)
  • Setup virtual device


  • Then follow the Hello World tutorial at the same blog.

    [Tutorial] Step by Step Guide to Setup Eclipse and Android 2.1 SDK
     
    Lars Vogel
    Ranch Hand
    Posts: 55
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Here is introduction to development with Android which includes the installation of the ADK: http://www.vogella.de/articles/Android/article.html
     
    Bill Mote
    Ranch Hand
    Posts: 44
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Lars Vogel wrote:Here is introduction to development with Android which includes the installation of the ADK: http://www.vogella.de/articles/Android/article.html


    Your page is very clean and I'm certain that your instructions will work. So will the instructions posted on the official Android Developers page. Greg and I found an alternate installation path that will streamline the process. His blog is posted in this thread. The instructions are very clear. The major difference is the order in which you install the various components. Check it out.

    Regards,

    dot
     
    Lars Vogel
    Ranch Hand
    Posts: 55
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thank you for the clarification.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic