阅读内容

教你安装Fedora7下java

[日期:2007-06-16] 来源:Linux公社  作者:Linux


感觉FC7的问题N多,还是Ubuntu下好,ifort,icc装不上就不说了,java也有问题,tinker在ubuntu下很顺利,FC7下就是不行。

Download and Extract

Get the latest version from Java.com.
Make sure you get the Linux (self-extracting file) and NOT the RPM!

Open a terminal and become root, then move the file you downloaded into /opt

Execute the file.
sh jre*.bin
Read the EULA and type “yes” if you agree to it
Setup Java Systemwide

Run this command as root in the terminal window:
vi/etc/profile.d/java.sh
Insert these lines:
export J2RE_HOME=/opt/jre1.6.0_01
export PATH=$J2RE_HOME/bin:$PATH
Run these commands:
#source /etc/profile.d/java.sh
#/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_01/bin/java 2
#/usr/sbin/alternatives --config java
Type “2″ then “Enter”.

So much for this.



相关资讯       Java  Fedora7 
本文评论       全部评论
发表评论
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款


点评: 字数
姓名:

L
I
N
U
X


GOOGLE搜索
Google