jdk 32-bit and 64-bit switch

1. The system path is added or renamed (if the system cannot be found, it is equivalent to deleting, which is convenient for recovery)

C:\ProgramData-切换\Oracle\Java\javapath\

2. Rename the directory (same as above, the system can't find it to facilitate recovery)

C:\ProgramData\Oracle\Java\javapath-切换
Insert picture description here

2. At the same time, the 32-bit and 64-bit of 1.8 are easy to handle. Change the order of the positions in the system variables

Insert picture description here
Just adjust the order. x86 is 32-bit, followed by 64-bit

Description

64-bit eclipse needs 64-bit jdk to open. But you can configure the 32-bit installation path in windowsspreference. The compiled program, you want to run on this machine, you must switch the 64-bit jdk of this machine to the 32-bit version.

Guess you like

Origin blog.csdn.net/liyang_nash/article/details/107993883