ide/eclipse

우분투 eclipse

C/H 2021. 12. 3. 19:09

  1. http://www.eclipse.org
    다운로드
    압축해제
  2. sudo mv eclipse /opt/
  3. 실행파일 생성
  4. #!/bin/sh export ECLIPSE_HOME=/opt/eclipse $ECLIPSE_HOME/eclipse $*
  5. sudo vi /usr/bin/eclipse
  6. 권한 수정
  7. sudo chmod 755 /usr/bin/eclipse
  8. 우분투 데스크탑 메뉴에 추가
  9. [Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=true TargetEnvironment=Unity
  10. sudo vi /usr/share/applications/eclipse.desktop

로컬 설정

vi ~/Desktop/eclipse.desktop

chmod +x ~/Desktop/eclipse.desktop
[Desktop Entry]
Type=Application
Terminal=false
Encoding=UTF-8
Version=1.1
Name=Eclipse
Exec=env GTK_IM_MODULE=ibus /home/username/Eclipse/eclipse-installer/eclipse-inst
Categories=Development;IDE;
Icon=/home/username/Eclipse/eclipse-installer/icon.xpm

Pop Os

# move folder
mv eclipse-installer ~/.local/share
vi ~/.local/applications/eclipse-installer.desktop
[Desktop Entry]
Name=Eclipse Installer
Icon=/home/username/.local/share/eclipse-installer/icon.xpm
StartupWMClass=Eclipse-Installer
Comment=Eclipse Installer
Exec="/home/username/.local/share/eclipse-installer/eclipse-inst" %u
Version=1.0
Type=Application
Categories=Development;IDE;
Terminal=false
StartupNotify=true
반응형