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调用C++之后,接下来想到能否通过JNA实现Java调用Fortran,今天试验了一下,还是比较容易的。
网上有一个Java调用F95的例子,但是我考虑不仅要实现F95的调用,还要实现F77的调用,所以费了一些周折。
问题的关键在于F77为过程名自动添加了一个尾部的下划线,所以sub1这个过程,到Java一端,就变成了sub1_, ......
第一章 概述
版权声明
此文档由本人负责整理总结,并对该文档保有有限责任权利,此文档只能用于学习以及教学,请勿用作商业用途,因此而
产生的法律问题,本人一概不负责。 本人声明,此文档资料为本人教学经验和网络资料收集合并之成果 ......
C#中对base的解释(引自MSDN):
base 关键字用于从派生类中访问基类的成员:
调用基类上已被其他方法重写的方法。
指定创建派生类实例时应调用的基类构造函数。
基类访问只能在构造函数、实例方法或实例属性访问器中进行。
从静态方法中使用 base 关键字是错误的。
在本例中,基类 Person 和派生类 Employee 都有一个 ......
第二章 类和对象
A. 万物皆对象
B. 对象由表示状态的属性和表示行为的方法组成
C.   ......
昨日在沈阳消防所做产品送检,对方提出意见,要求在鼠标或键盘(USB的)插拔时,须有系统提示。 由于JAVA自身对硬件的支持较弱,找了很多材料,未得其果。 先放上来,记下吧,期待高手指点。 PS: 用LIBUSB-WIN32,做了个尝试,能检测出鼠标插拔了,但是鼠标却不能使用~~ ......