创建文件夹
sudo mkdir /opt/jvm
解压文件
sudo tar zxvf eclipse-jee-oxygen-R-linux-gtk-x86_64.tar.gz -C /opt/jvm
配置快捷方式
sudo gedit /usr/share/applications/eclipse.desktop
#在打开的文档中添加
[Desktop Entry]
Encoding=UTF-8
Name=eclipse
Exec=/opt/jvm/eclipse
Icon=/opt/jvm/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
执行
sudo chmod u+x eclipse.desktop
时间: 2024-10-21 22:19:50