이클립스 ganymede를 설치하여서 실행이 되는것 까지 확인을 했습니다.
[code:2k5e2wul]Installation Instructions
1. Verify that any previous installation has been completely removed. In particular, the following needs to be verified:
a. There is no eclipse folder under /opt. If there is, it must be deleted. Sudo access will be required to delete the folder.
b. There is no eclipse folder under /usr/local/share. If there is, it must be deleted. Sudo access will be required to delete the folder.
b. There is no entry for eclipse in either /usr/bin or /usr/local/bin. If there is, then the entry must be deleted.
c. There is no entry for eclipse.desktop in /usr/share/applications. If there is, then the entry must be deleted.
b. There is no configuration files for eclipse in the users’ home folders. These are hidden directories. If there are any, these must be deleted.
2. Obtain the appropriate file from http://www.eclipse.org/downloads/packages/. Only one of the packages is required. The file should be saved to the Desktop.
3. When the download has been completed, open a Terminal and execute the following commands:
cd ~/Desktop
tar xzf eclipse-SDK-3.4-linux-gtk.tar.gz (note that the filename may differ, depending on what was downloaded in step 2)
sudo mv eclipse /opt/eclipse
sudo mv ganymede-logo.png /opt/eclipse (this will move the icon. The filename and location for the logo may differ - depending where it was saved)
cd /opt
sudo chown -R root:root eclipse
sudo chmod -R +r eclipse
cd /opt/eclipse
sudo chmod +x eclipse
4. Create an executable shell for eclipse. This is done through Terminal by executing the following commands:
sudo touch /usr/local/bin/eclipse (this assumes that /usr/local/bin is in the path)
sudo chmod 755 /usr/local/bin/eclipse
sudo nano /usr/bin/eclipse (this will open the nano editor)
5. When the eclipse shell file is open (in nano), the following contents need to be inserted and the file saved:
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
6. Create a GNOME menu item. This is done through Terminal by executing the following command:
sudo nano /usr/share/applications/eclipse.desktop
7. When the GNOME menu item is open (in nano), the following contents need to be inserted and the file saved:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse Ganymede IDE
Exec=eclipse -> 요걸 /opt/eclipse/eclipse --clean으로 해줘야 함.
Icon=/opt/eclipse/ganymede-logo.png
Terminal=false
Type=Application
Categories=GNOME;Application;Development
StartupNotify=True
8. Initialise eclipse by running the following command in Terminal: /opt/eclipse/eclipse --clean.[/code:2k5e2wul]
위의 방법을 따라서 설치를 하였습니다.
그런데 이클립스를 다시 실행하려고 하니 아래와 같이 에러가 뜹니다.
[code:2k5e2wul]~$ opt/eclipse/eclipse
bash: opt/eclipse/eclipse: No such file or directory
haibrid@haibrid:~$ /opt/eclipse/eclipse
ZoneInfo: /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/zi/ZoneInfoMappings (Too many open files)
ZoneInfo: /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/zi/ZoneInfoMappings (Too many open files)
!SESSION
GLib-ERROR **: Cannot create pipe main loop wake-up: Too many open files
aborting...
[/code:2k5e2wul]
컴피즈 퓨전 기능은 대부분 꺼놨고, 모양새 설정도 none으로 해놓았습니다.