Install Java in Linux (Ubuntu / Debian)
This manual is to help install java (jdk) in Ubuntu / Debian Linux. Previously we discussed about how java’s installation has evolved over a period, then I promised to write an article on installing java on Linux. Yes I love Linux! Read more here
Debian News RSS Feed
[...] Install Java in Linux (Ubuntu / Debian) | Debian-News.net – Your one … This entry was posted in all, an, ati, DE, Deb, Debian, Debian Linux, evo, help, how, in, instal, [...]
[...] post: Install Java in Linux (Ubuntu / Debian) | Debian-News.net – Your one … This entry was posted in Uncategorized and tagged how-java, manual, ubuntu by admin. Bookmark the [...]
You should not use Oracle Java JDK (which was Sun Java JDK previously) as first choice, as after version 7 this summer, it isn’t the reference implementation any more. You should use OpenJDK instead, which is the new reference implementation.[1]
Oracle have changed the licens of Oracle Java JDK, so no one are allowed to redistribut it any more.
So, in Ubuntu/Debian you should remove the old Sun Java JDK and install the new Open JDK, which is in the repositories. [2]
apt-get –purge remove sun-java6-jre && apt-get install openjdk-7-jre
You might want to check your old software that you have runned with Sun Java so it still works[3]. If they stop working, just download and install Oracle Java JDK from them.
More information:
[1]http://www.debian.org/News/weekly/2011/15/index.en.html
[2]http://sylvestre.ledru.info/blog/sylvestre/2011/10/25/removal_of_sun_java6_from_debian
[3]http://www.carbon-project.org/Removal_of_sun_java6_and_ElsterOnline.html