http://openjdk.java.net/
http://www.java.com/en/download/linux_manual.jsp?locale=en&host=www.java.com:80
http://www.java.com/en/download/help/5000010500.xml#rpm
http://www.java.com/en/download/linux_manual.jsp?locale=en&host=www.java.com:80
http://www.java.com/en/download/help/5000010500.xml#rpm
Open Java JDK JRE
Java Open Java Open JDK & JRE 1.6 and openjdk plugin are free libre open source replacements for Sun Java Java SE J2SE JDK JRE 6 !(Note : Java Open Java Open JDK & JRE 1.6 and openjdk plugin 1.7 are also known as IcedTea !)
CentOS/OEL/RHEL Install
If you need open java to work inside firefox as a plugin then you must install the open java iced tea plugin from the CentOS Test repository(which should also install the openjdk as a dependancy)
check centos-test is in your repo list
$ yum repolist Loaded plugins: fastestmirror, priorities repo id repo name status addons CentOS-5 - Addons enabled: 0 base CentOS-5 - Base enabled: 2,535 c5-test CentOS-test enabled: 714 extras CentOS-5 - Extras enabled: 325 updates CentOS-5 - Updates enabled: 263
OEL OpenJava OpenJDK remove
If you are using Oracle Enterprise Linux you will need to remove the Oracle Enterprise Linux openjava openjdk# yum remove java-1.6.0-openjdk
CentOS/OEL/RHEL Install
Install openjava from the CentOS testing repository# yum install java-1.6.0-openjdk-plugin
firefox about : plugins
If you dont need java to work in firefox you can just install open java on its own directly from the CentOS, OEL or RHEL repos
# yum install java-1.6.0-openjdk
you may need to remove any old javas such as gcj but this will break openoffice.org if you are using it
# yum remove java-1.4.2-gcj-compat
to prevent yum update rpm clashes conflicts you may need to add some exclude java-1.6.0-openjdk in your yum .repo files
[base] name=CentOS-$releasever - Base exclude=java-1.6.0-openjdk [updates] name=CentOS-$releasever - Updates exclude=java-1.6.0-openjdk
Manual Install Open Java Open JDK Plugin
If your browser (FireFox) is installed in this directory:/usr/lib/mozilla-1.4/
and if the Java is installed at this directory:
/usr/java/jre1.6.0
Then type at the terminal to go to the browser plug-in directory:
# cd /usr/lib/mozilla-1.4/plugins
and create a symbolic link to the Java Plug-in for the Mozilla browser.
# ln -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so .
Ed/X/Ubuntu Install
install open java# aptitude install default-jdk
Test Java Plugin
Run firefox and navigate to http://www.java.com/en/download/installed.jsp?detect=jre&try=1firefox sun java test page
note : do not update to sun java if you want to keep using the open java jdk
REFERRERS
FireFoxExtensions
ProgrammingLanguages