Android ADT failed to initialize

Source: Internet
Author: User

Buy Android on Android's official website after ADT is finished, unzip it and start clicking

Eclipse.exe, sure enough, gave me a surprise, that is

[Failed to create the Java Virtual machine], after seeing the message

Online query, found that the source of the error is Eclipse.ini this file configuration has a problem, this file

After I downloaded it and didn't move it, it was the JDK, and I found that I had a JDK installed on my machine.

1.6.0_33 think it should not, open cmd-typed [java-version], [Javac], [Java]

The three commands were found to be normal, so they went on to see Eclipse.ini. found that the contents of this file have many parameters

Learn about this post and solve the problem first. And by the way, I'm going to click Eclipsec.exe.

When a console comes out, the information inside is

[Error occurred during initialization of VMS

Could not reverse enough space for object heap]

Follow this to enlarge the parameters of the memory (I tried to expand each one, and all the expansion and so on).

Still no use, so continue to investigate, see Eclipse.ini the correct wording, well found a place.

After the end of the discovery of an INI introduction site.

Then it was easy to find the most complete copy of the past. The local path was replaced:

-vm
D:\Program Files\java\jdk1.6.0_33\bin\javaw.exe

Next click on the Eclipse.exe to come out.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.