Tuesday, September 16, 2008

Adjusting wireless for laptop hp 6710b

it's to be set ATrpms.net repository(look at http://www.osresources.com/11_6_en.html)

then in command line of terminal it's to be invoked :

yum install ipw3945-kmdl-`uname -r` ipw3945

Tuesday, September 2, 2008

Setup java for CentOS 5

Download needed java distributive.
If you want to have two jvm for i386 and x64 you have to download non rpm package.

1. login by root user
2. go to /usr/java/
3. run jdk-XXX-linux-XXX.bin
4. add symbolic links determining default jvm by using command alternatives

e.g.

/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_16_x64/bin/java 3


4.choose default by using command alternatives
e.g.

/usr/sbin/alternatives --config java


e.g.

[root@localhost jdk1.5.0_16_x64]# /usr/sbin/alternatives --config java

There are 3 programs which provide 'java'.

Selection Command
-----------------------------------------------
* 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
+ 2 /usr/java/jdk1.5.0_16/bin/java
3 /usr/java/jdk1.5.0_16_x64/bin/java

Enter to keep the current selection[+], or type selection number: 3


Checking...

[root@localhost jdk1.5.0_16_x64]# java -version
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-b02, mixed mode)




Enjoy :)