JDK and eclipse installation in win7 64-bit environment

Source: Internet
Author: User
JDK and eclipse installation in win7 64-bit environment

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)

64-bit system users should download file names such as: jdk-6 <version> -windows-x64.exe, file name with x64

32-bit system users should download file names such as: jdk-6 <version> -windows-i586.exe, file name with i586

After JDK is installed, if it is a 64-bit JDKProgram", We can see that JDK is marked with 64-bit

However, many friends asked me if I can use a 32-bit JDK. What about a 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. Only the 32-bit JDK will be installed under c: \ Program Files (x86) by default, and java_home will point to 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
D: \ Program Files \ Java \ jre6

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.