需设置环境变量
env GDK_NATIVE_WINDOWS=true /opt/eclipse/eclipse
或者编写脚本/usr/bin/eclipse
#vim /usr/bin/eclipse
#!/bin/bash
env GDK_NATIVE_WINDOWS=true /opt/eclipse/eclipse
#chmod 755 /usr/bin/eclipse
需设置环境变量
env GDK_NATIVE_WINDOWS=true /opt/eclipse/eclipse
或者编写脚本/usr/bin/eclipse
#vim /usr/bin/eclipse
#!/bin/bash
env GDK_NATIVE_WINDOWS=true /opt/eclipse/eclipse
#chmod 755 /usr/bin/eclipse