For Windows 64, the 32-bit JDK is used for eclipse.

Source: Internet
Author: User

A 64-bit win7 software is written based on 32-bit eclipse and cannot be started.

A 32-bit JVM must be loaded.

Therefore, the 32-bit version is downloaded. Then add the path to the configuration file.

For example, I am-vmargs c: \ Program Files (x86) \ Java \ jdk1.7.0 _ 25

====================

At present, no matter whether the laptop or desktop memory is already the price of cabbage, memory configurations above 4 GB can be seen everywhere. I recently upgraded my laptop's memory to 8 GB. Naturally, I want to better support large-capacity memory and install 64 systems as necessary. According to my personal usage, I have not found any commonly used software that is incompatible with 64-bit win7.

Back to the topic, as a coder, the development environment must be built. In a 64-bit system, the most common is the choice of eclipse64 + JDK 64-bit. This is also the case in my notebook environment. The official website is as follows:

Eclipse: http://www.eclipse.org/downloads/ (currently the latest is 3.7, Which is indigo)

JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html (I chose jdk1.6.029) However, there are also many friends asked me 32-bit JDK can not be used, 32-bit eclipse? Of course. In fact, I also installed a 32-bit JDK in my notebook (it seems that the system compiled with Maven prompts JDK incompatibility. It seems that I cannot remember it ......), Java_home and other normal configurations. The 32-bit JDK is installed in c: \ Program by default.
In files (x86), you can point to java_home here. Besides, for 32-bit eclipse, if your java_home is configured with a 32-bit JDK, you can only use 32-bit eclipse by default. If you configure a 64-bit JDK and want to use a 32-bit eclipse, You need to modify the eclipse. ini file. In-vmargs, add the 32-bit JDK path, which is consistent with the path configured for java_home. For example:

-Vmargs c: \ Program Files (x86) \ Java \ jdk1.6.0 _ 29

Similarly, you should use 64-bit eclipse when Java _ home is configured with a 32-bit JDK.

Related Article

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.