易截截图软件、单文件、免安装、纯绿色、仅160KB

java jre 安装方法 FOR FEDORE


Let's begin by downloading the latest version of JRE (Java Runtime
Environment) from here
.
Just click on the Download link where it says Java Runtime
Environment (JRE) 5.0 Update
, then you�ll need to accept the license
and download the Linux self-extracting file
.By default, Fedora Core 6 systems come with an old
Java software installed, so you need to install a newer version of Java
Runtime Environment to enjoy all the Java applications out there. In
this quick guide, I will teach you how to update/install your Java
Environment.
WARNING:
Please remember to always replace the xx
from the jre-1_5_0_xx-linux-i586.bin
file with the latest version. At the moment of this guide�s writing,
the latest version was 09
, so the file should look like this: jre-1_5_0_09-linux-i586.bin
After
you have finished downloading the file, you need to move it into the /opt
folder. Open a console and type:
mv
jre-1_5_0_xx-linux-i586.bin /opt
Now, you will need to
make this file executable so you can extract it. Follow the commands
below:
cd /opt
- so you can go
into the /opt directory
chmod +x
jre-1_5_0_xx-linux-i586.bin
And now, let's run the
executable file with the following command:
./jre-1_5_0_xx-linux-i586.bin
You'll
be prompted with the License Agreement, hit space until you are asked
if you agree or not. Type Yes
and the extraction process will
begin. After the extraction process is finished, just remove the binary
file with the following command:
rm -rf
jre-1_5_0_xx-linux-i586.bin
Now, let's put the Java
plugin into your browser's plugin folder. Konqueror, Firefox and Mozilla
browsers will all look into the same folder, for plugins. So type the
following command:
ln -s
/opt/jre1.5.0_xx/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
Well,
now you need to make the Java executable available for the whole system,
so you can run all the Java applic


相关文档:

Java中集合容器类List和Set的用法

List的用法
List包括List接口以及List接口的所有实现类。因为List接口实现了Collection接口,所以List接口拥有Collection接口提供的所有常用方法,又因为List是列表类型,所以List接口还提供了一些适合于自身的常用方法,如表1所示。
表1  List接口定义的常用方法及功能
从表1可以看出,List接口提供的适合于自身的 ......

java 正则表达式工具类

//使用abstract目的是为了让使用者只能调用getInstance获取实例
public abstract class RegexUtil {
public static void main(String[] args) {
RegexUtil ru = RegexUtil.getInstance();
String regexp = "(\\d+.\\d+.\\d+.\\d+):(\\d+)";
String data = "ldap://192.168.16.152:389/"; ......

传智播客JAVA培训2010 5 21EMS项目总结1


传智播客JAVA培训2010-5-21EMS项目总结1
EMS项目都过去了三天,我对自己的能力也越来越怀疑,现在每每想起从前自己对JAVA只有十分之一解的时间,感觉自己是多么的强大,而如今学得越多,反而发现在自己越来越是那样的无知。面向知识浩瀚的海洋,真的感觉到自己是沧海一粟。人们都说,现在的年青人太浮躁了,真的是这样吗 ......

JAVA 检测鼠标插拔事件?

昨日在沈阳消防所做产品送检,对方提出意见,要求在鼠标或键盘(USB的)插拔时,须有系统提示。 由于JAVA自身对硬件的支持较弱,找了很多材料,未得其果。 先放上来,记下吧,期待高手指点。     PS: 用LIBUSB-WIN32,做了个尝试,能检测出鼠标插拔了,但是鼠标却不能使用~~ ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号