安装环境: Linux System: cenos5.5 JDK: jdk1.5.0_13 这里不介绍jdk的安装. 第一步: 到www.verycd.com下载myeclipse8.0 linux版 http://www.verycd.com/search/files/myeclipse-8.0.0-linux-gtk-x86.tgz 第二步: 1.将其copy到你用户的根目录下 列如:/home/fgfd0 2.使用tar -xvf 解压myeclipse-8.0.0-linux-gtk-x86.tgz 3.进入解压后的目录执行./myeclipse-8-stable-installer 如果报错弹出窗口: JVM terminated. Exit code=-1 jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Perm..... ....后面省略 关闭错误窗口, 执行: # chcon -t textrel_shlib_t /home/fgfd0/jdk1.6.0_13/jre/lib/i386/client/libjvm.so 在继续执行./myeclipse-8-stable-installer 弹出安装界面,一直下一步安装成功。 第三步: 注册 myeclipse-8.0.0-linux myeclipse-8.0.0-linux-gtk-x86.tgz 注册码 MyEclipse Enterprise Workbench Version: 8.0 Build id: 8.0-20091120 (c) Copyright Genuitec, L.L.C. 2000-2009. All rights reserved. Visit http://www.myeclipseide.com/ This product includes software developed by the following Eclipse Foundation http://www.eclipse.org/ Apache Software Foundation http://www.apache.org/ 以下是注册码: LICENSEE=LauCheng LICENSE_KEY=YLR8ZC-855550-6765665204902409 ------------------------------------------------------------------------- 下面是执行命令记录 [fgfd0@localhost Download]$ cd myeclipse-8.0.0-linux-gtk-x86 [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ ls -l total 400 drwxr-xr-x 2 fgfd0 fgfd0 4096 2010-05-06 10:50 configuration -rw-r--r-- 1 fgfd0 fgfd0 55371 2009-11-24 13:08 icon.xpm -rw-r--r-- 1 fgfd0 fgfd0 266168 2009-11-18 18:06 libcairo-swt.so -rw-r--r-- 1 fgfd0 fgfd0 10158 2009-11-18 18:06 LICENSE -rwxr-xr-x 1 fgfd0 fgfd0 52576 2009-11-18 18:06 myeclipse-8-stable-installer drwxr-xr-x 6 fgfd0 fgfd0 4096 2009-11-24 13:25 plugins [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ ./myeclipse-8-stable-installer /home/fgfd0/jdk1.6.0_13/bin/../jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ clera bash: clera: command not found [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ clear [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ ./myeclipse-8-stable-installer /home/fgfd0/jdk1.6.0_13/bin/../jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ chcon -t textrel_shlib_t /fgfd0/jdk1.6.0_13/jre/lib/i386/client/libjvm.so chcon: cannot access `/fgfd0/jdk1.6.0_13/jre/lib/i386/client/libjvm.so': No such file or directory [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ chcon -t textrel_shlib_t /home/fgfd0/jdk1.6.0_13/jre/lib/i386/client/libjvm.so [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ ./myeclipse-8-stable-installer Architecture: Linux/i386 Redirecting System.out and System.err to /home/fgfd0/Genuitec/Common/logs/installer-console.log [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ ls -l total 400 drwxr-xr-x 5 fgfd0 fgfd0 4096 2010-05-06 10:55 configuration -rw-r--r-- 1 fgfd0 fgfd0 55371 2009-11-24 13:08 icon.xpm -rw-r--r-- 1 fgfd0 fgfd0 266168 2009-11-18 18:06 libcairo-swt.so -rw-r--r-- 1 fgfd0 fgfd0 10158 2009-11-18 18:06 LICENSE -rwxr-xr-x 1 fgfd0 fgfd0 52576 2009-11-18 18:06 myeclipse-8-stable-installer drwxr-xr-x 6 fgfd0 fgfd0 4096 2009-11-24 13:25 plugins [fgfd0@localhost myeclipse-8.0.0-linux-gtk-x86]$ cd .. [fgfd0@localhost Download]$ ls -l total 1006756 -rw-rw-r-- 1 fgfd0 fgfd0 6123410 2010-04-20 07:13 apache-tomcat-6.0.26.tar.gz -rwxrwxr-x 1 fgfd0 fgfd0 80129716 2010-04-20 07:09 jdk-6u13-linux-i586.bin -rw-rw-r-- 1 fgfd0 fgfd0 78939872 2010-04-20 06:14 jdk-6u13-linux-i586.zip drwxrwxr-x 8 fgfd0 fgfd0 4096 2010-04-20 11:01 libevent-1.2 -rw-rw-r-- 1 fgfd0 fgfd0 413811 2010-04-20 11:00 libevent-1.2.tar.gz -rw-rw-r-- 1 fgfd0 fgfd0 704447 2010-04-20 10:44 libevent-2.0.4-alpha.tar.gz drwxrwxr-x 6 fgfd0 fgfd0 4096 2010-05-06 10:24 log -rwxr-xr-x 1 fgfd0 fgfd0 5344696 2010-05-05 17:06 MapServer4.2_fat.jar -r-------- 1 fgfd0 fgfd0 267420 2010-05-06 07:46 memcached-1.4.0.tar.gz drwxr-xr-x 4 fgfd0 fgfd0 4096 2010-05-06 10:55 myeclipse-8.0.0-linux-gtk-x86 -rwxr-xr-x 1 fgfd0 fgfd0 857922420 2010-04-22 10:39 myeclipse-8.0.0-linux-gtk-x86.tgz [fgfd0@localhost Download]$ echo $JAVA_HOME /home/fgfd0/jdk1.6.0_13 [fgfd0@localhost Download]$