ÔÚ°²×°eclipse֮ǰ£¬ÇëÈ·±£ÒѾÕýÈ·°²×°JDK¡£
Download Eclipse SDK from its main site (Choose Eclipse Classic) :
http://www.eclipse.org/downloads/
Extract the eclipse download and move to /opt.
Èç¹ûÏë°ÑeclipseĿ¼µÄ¸ü¸ÄΪrootÓµÓУ¬¿ÉÒÔÖ´ÐÐÏÂÃæµÄÃüÁî
sudo chown -R root:root /opt/eclipse
µ±È»Ò²¿ÉÒÔ²»Óá£
Then create an eclipse executable
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
Create the file
sudoedit /usr/bin/eclipse
With the content:
#!/bin/sh
export MOZILLA_FIVE_HOME=¡±/usr/lib/mozilla/¡±
export ECLIPSE_HOME=¡±/opt/eclipse¡±
$ECLIPSE_HOME/eclipse $*
If you use gnome, create a shortcut
sudoedit /usr/share/applications/eclipse.desktop
With the content :
[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
ÔÚ×ÀÃæ»òÕ߯ô¶¯Ãæ°åÉÏÌí¼Óͼ±ê£º
ÔÚ×ÀÃæ£¨ÓÒ¼üµ¥»÷×ÀÃæ->´´½¨Æô¶¯Æ÷£©»òÃæ°å£¨ÓÒ¼üµ¥»÷Ãæ°å->Ìí¼Óµ½Ãæ°å ->¶¨ÖÆÓ¦ÓóÌÐòÆô¶¯Æ÷£©ÉÏ´´½¨Ò»¸öÐÂµÄÆô¶¯Æ÷£¬È»ºóÌí¼ÓÏÂÁÐÊý¾Ý£º
Ãû³Æ£ºEclipse Platform
ÃüÁeclipse
ͼ±ê£º/opt/eclipse/icon.xpm
aoner ÓÚ 2007-11-13 10:30:57·¢±í:
I like easyEclipse more ,bucause its easy to install ,:0wmjh(1
and thanks