1. Use the link to download the Java 1.6 :
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u6-oth-JPR
2. Download the package "Linux RPM in self-extracting file".
3. Change directories using the 'cd' command to reach the directory where the downloaded package is located.
4. Add execute permission to the JDK file (the downloaded package) using the command :
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u6-oth-JPR
2. Download the package "Linux RPM in self-extracting file".
3. Change directories using the 'cd' command to reach the directory where the downloaded package is located.
4. Add execute permission to the JDK file (the downloaded package) using the command :
chmod +x jdk-6u6-linux-i586-rpm.bin
5. Install JDK using the command : ./jdk-6u6-linux-i586-rpm.bin. Scroll down and type 'y' when prompted.6. Install the key for the JPackage repository.
rpm --import http://jpackage.org/jpackage.asc
7. Install the JPackage repsoitory information for yum.
cd /etc/yum.repos.d
wget http://www.jpackage.org/jpackage17.repo
8. Install the Java RE using :
yum -y --enablerepo=jpackage-generic-nonfree install java-1.6.0-sun-compat.i586
Is it need any amount to install? bcz we didn’t get the result as you specified.
ReplyDeletei am sorry i didn’t get your question.. what do you mean when you say “amount”?
DeleteHi…….
DeleteI asked installation needs any money?
and please tell me how to set the java path.
Set default Java path to the new JRE, i.e., select number corresponding to jre-1.6.0-sun.
absolutely not.. all these stuff are open source.. so you wouldn’t have to pay anything..
Deleteabout setting the path.. did you install the Java Runtime Environment (JRE)?
sorry we get ur reply little bit late .Ya…we ‘ve installed JRE . but we don’t know how to set the path
Deleteuse the following command to find available java versions : /usr/sbin/alternatives --config java
Deletechoose the appropriate option..