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
相关文档:
最近公司碰到需要用图表的形式显示一些数据,我就开始到网上查询,查到了jfreechart和amcharts,这两者我都实现过了,jfreechart最后生成图片,但是图片效果不是我想要的,然后又研究amcharts 它的效果确实很好,而且官方网站上还有好些例子可供下载,网址是:www.amcharts.com
(想要完成一个amcharts图形需要swfobjects. ......
用JAVA实现缓冲多线程无阻塞读取远程文件
http://ajava.org/course/java/10688.html
使用FileChannel和ByteBuffer
http://www.java2s.com/CN/Code/Java/File-Input-Output/useFileChannelandByteBuffer.htm
java.nio.Buffer缓冲区基础
http://zcdxzsz.javaeye.com/blog/310917
Java NIO 应用 -- 使用内存映射文件实现 ......
作者:cleverpig(作者的Blog:http://blog.matrix.org.cn/page/cleverpig)
原文:http://www.matrix.org.cn/resource/article/44/44055_Java+Annotation+Reflect.html
关键字:java,annotation,reflect
前言:
在上篇文章《Java Annotation入门》中概要性的介绍了Annotation的定义、使用,范围涵盖较广,但是深度不够。所以 ......
传智播客JAVA培训2010-5-21EMS项目总结1
EMS项目都过去了三天,我对自己的能力也越来越怀疑,现在每每想起从前自己对JAVA只有十分之一解的时间,感觉自己是多么的强大,而如今学得越多,反而发现在自己越来越是那样的无知。面向知识浩瀚的海洋,真的感觉到自己是沧海一粟。人们都说,现在的年青人太浮躁了,真的是这样吗 ......
在Java
语言中, abstract class 和interface
是支持抽象类
定义的两种机制。正是由于这两种机制的存在,才赋予
了Java强大的 面向对象能力。abstract
class和interface之间在对于抽象类定义的支持方面具有很大的相似性,甚至可以相互替换,因此很多开发者在进
行抽象类定义时对于abstract
class和interface的 ......