当前位置: 技术问答>linux和unix
j2re-1_4_2_04-linux-i586.bin该怎么安装啊?(请给出具体步骤)
来源: 互联网 发布时间:2015-06-14
本文导语: 我去www.java.com下载得jdk(for linux得) 怎么名字是j2re-1_4_2_04-linux-i586.bin 和大家经常说得j2sdk名字不一样啊 有什么区别吗 怎么安装啊 请给出具体步骤 | 1st: open ur terminal such as gnome-terminal or ...
我去www.java.com下载得jdk(for linux得)
怎么名字是j2re-1_4_2_04-linux-i586.bin
和大家经常说得j2sdk名字不一样啊
有什么区别吗
怎么安装啊
请给出具体步骤
怎么名字是j2re-1_4_2_04-linux-i586.bin
和大家经常说得j2sdk名字不一样啊
有什么区别吗
怎么安装啊
请给出具体步骤
|
1st:
open ur terminal such as gnome-terminal or rxvt... you will see a windows
fill with black chars and blink cursor like this:
[coder @MMM~]$|
2nd:
locate to dir which have ur "j2re-1_4_2_04-linux-i586-rpm.bin" file downloaded before. such as :
[coder @MMM~]$cd downloads
3rd:
[coder @MMM~/downloads]$chmod +x j2re-1_4_2_04-linux-i586-rpm.bin
to make the bin file executable.
4th:
[coder @MMM~/downloads]$./j2re-1_4_2_04-linux-i586-rpm.bin
then you'll see the java copy right info ,just hit spacebar to scroll
when u get 100% loaded u'll see some words like this:
do u agree?[yes/no]yes -->input 'yes'
then u'll get another file named j2re-1_4_2_04-linux-i586.rpm
just try this to confirm:
[coder @MMM~/downloads]$ls j2re*.rpm
then install this rpm package as root
su root
password input..
[root @MMM~/downloads]#rpm -ivh j2re-1_4_2_04-linux-i586.rpm
ok now.
try this
[root @MMM~/downloads]#java
if you get "command not found"
try :
[root @MMM~/downloads]#whereis java
it will show u java dir.
then using abs path try again.
====================
gook luck.
open ur terminal such as gnome-terminal or rxvt... you will see a windows
fill with black chars and blink cursor like this:
[coder @MMM~]$|
2nd:
locate to dir which have ur "j2re-1_4_2_04-linux-i586-rpm.bin" file downloaded before. such as :
[coder @MMM~]$cd downloads
3rd:
[coder @MMM~/downloads]$chmod +x j2re-1_4_2_04-linux-i586-rpm.bin
to make the bin file executable.
4th:
[coder @MMM~/downloads]$./j2re-1_4_2_04-linux-i586-rpm.bin
then you'll see the java copy right info ,just hit spacebar to scroll
when u get 100% loaded u'll see some words like this:
do u agree?[yes/no]yes -->input 'yes'
then u'll get another file named j2re-1_4_2_04-linux-i586.rpm
just try this to confirm:
[coder @MMM~/downloads]$ls j2re*.rpm
then install this rpm package as root
su root
password input..
[root @MMM~/downloads]#rpm -ivh j2re-1_4_2_04-linux-i586.rpm
ok now.
try this
[root @MMM~/downloads]#java
if you get "command not found"
try :
[root @MMM~/downloads]#whereis java
it will show u java dir.
then using abs path try again.
====================
gook luck.
|
加用户执行权限
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。