File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Setting up a Android SDK environment help. while opening Eclipse error message of no virtual machine Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Setting up a Android SDK environment help. while opening Eclipse error message of no virtual machine" Watch "Setting up a Android SDK environment help. while opening Eclipse error message of no virtual machine" New topic
Author

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

micah ansel
Greenhorn

Joined: Jun 28, 2009
Posts: 1
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.

This message was edited 1 time. Last update was at by Ulf Dittmer

Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1355

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.


[List of FAQs] | [Android FAQ] | [My Blog]
Greg Zimmers
Greenhorn

Joined: Feb 04, 2010
Posts: 4
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

    Joined: Oct 10, 2007
    Posts: 55
    Here is introduction to development with Android which includes the installation of the ADK: http://www.vogella.de/articles/Android/article.html


    Tutorials about Java, Eclipse and Webprogramming http://www.vogella.de
    Bill Mote
    Ranch Hand

    Joined: Feb 04, 2010
    Posts: 42
    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

    Joined: Oct 10, 2007
    Posts: 55
    Thank you for the clarification.
     
     
    subject: Setting up a Android SDK environment help. while opening Eclipse error message of no virtual machine
     
    developer file tools

    cast iron skillet 49er

    more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture