Chinaunix首页 | 论坛 | 博客
  • 博客访问: 444634
  • 博文数量: 67
  • 博客积分: 2468
  • 博客等级: 上尉
  • 技术积分: 1050
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-05 01:21
文章分类

全部博文(67)

文章存档

2013年(1)

2012年(65)

2011年(1)

分类: Java

2012-05-25 14:15:32

http://hi.baidu.com/hujiangshui/blog/item/af54983b33070be614cecbeb.html

how to install eclipse in Redhat enterprise linux 5.4

hello everyone !
I'm very glad to express the procedure to install eclipse in the operate system "Redhat enterprise linux 5.4"
now let begin:
1:the first you should download the JDK 1.6, JDK 1.5 or other version for linux and the eclipse 3.2 ,eclipse 3.1   or other version for linux .
at this step you could download them in the linux operate system or you cold download them in windows system ,then you could put them in one remove disk (u pan)

2:copy them to /usr/linuxsoft the "linuxsoft" is the director I created .

3:start the terminal cd to the director /usr/linuxsoft

4: [root@localhost bin]# chmod +x jdk1.6.0_13 .bin

5:drag the jdk1.6.0_13.bin to the terminal window ,then the install JDK is start .

6:for example my istall director is /usr/linuxsoft then we should edit the PATH and CLASSPATH

7:[root@localhost bin]# vi /etc/profile
for example:you should add the follow code to the file.

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
export JAVA_HOME=/usr/linuxsoft/jdk1.6.0_13
export PATH=.:/usr/linuxsoft/jdk1.6.0_13/bin:$PATH
export CLASSPATH=.:/usr/linuxsoft/jdk1.6.0_13/lib/tools.jar:$CLASSPATH

the above code is subclock of the file ,you could enter the /etc director then edit the nemed 'profile ' file ;

8: click the "ESC" key , enter     :w     you could save the file you edited.


now we should install the eclipse
cd into the director that you put the installing file.then begin

1: [root@localhost bin]# tar -zvxf eclipse_tar2.3-org.tar.gz

2;then the installing start;

3: cd into the /usr/local/bin create a file named eclipse.sh

then edit it put into the code

export JAVA_HOME=/usr/linuxsoft/jdk1.6.0_13
export CLASSPATH=/usr/linuxsoft/jdk1.6.0_13/lib
/usr/linuxsoft/eclipse/eclipse -vm /usr/linuxsoft/jdk1.6.0_13/bin/java -data ~/workspace &

the workspace director was create in the root director is you work director.

4:then
[root@localhost ~]# source /usr/local/bin/eclipse.sh

5:now the GUI is showed

cd into the /usr/local/bin/    then

6:[root@localhost ~]# chmod 755 eclipse.sh

7: you could create a launchor

lick the disktop ->click mouse right -> create launchor ->browse (select the /usr/local/bin/eclipse.sh)->input the name (for example eclipse)->ok.


my English is pool ,this article is writed in the redhat enteprise linux , the chinese input tools was not installed.


阅读(2466) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~