註冊表
1、打開註冊表
a.win+R快捷鍵打開運行窗口,輸入regedit,點擊確定
b.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\,然後在右邊空白處點擊右鍵,選擇新建->DWORD(32位)值,名稱爲PreferExternalManifest,值爲1。
若發現已存在並且值已經爲1則不用再管了
2.在eclipse.exe的同目錄下添加eclipse.exe.manifest
a.複製以下代碼保存到一份txt文本中
b.保存後將該文本重命名爲eclipse.exe.manifest
<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
<description>eclipse</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3" level="asInvoker" ms_asmv3:uiAccess="false"> </requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
c.將該文件添加到eclipse.exe的同目錄下,如圖:
注* eclipse.exe在安裝或解壓後的根目錄下
重新啓動eclipse完成配置修改