The computer has reinstalled the system win7, and it is 64-bit, and the office environment needs to be rebuilt.
First install the JDK, download the 64-bit eclipse, and when you open it, you will be prompted:
Very distressed, I searched the Internet: This is caused by the wrong JDK configuration.
If you are a 64-bit system, but installed a 32-bit JDK, it will lead to the above situation.
The solution is as follows:
Uninstall the 32-bit JDK originally installed, and then install the 64-bit JDK to the computer. Set the environment variables,
Now, Eclipse should work just fine!
In fact, 32-bit software will be installed in the program files (x86) folder by default, and 64-bit software will be installed in the program files folder by default, so you can also determine whether the installation is correct.
Simply put, x86 represents a 32-bit operating system and x64 represents a 64-bit operating system. If your CPU is more than dual core, it must support 64-bit operating system. If your computer's memory is larger than 4G, you should use a 64-bit system, because 32-bit Windows 7 or Vista only supports a maximum of 3.25G of memory. The 64-bit Windows 7 will support up to 128G of memory.
64bit computing has two main advantages: it can perform a wider range of integer operations; it can support larger memory.
The 64-bit system is the trend, with fast speed and large memory support, so hurry up and use the high-end 64-bit system.