How to install Java on Ubuntu 8.10 (Intrepid Ibex)
Hey everyone,
I am trying to install Java onto Ubuntu 8.10 and it has me tearing my hair out now. I just cannot get it working, but have never had trouble with earlier version of Ubuntu. I followed the instructions found at http://www.java.com/en/download/help...selfextracting and no luck. The I tried the apt-get method: Code:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts Regards, Greenie |
Quote:
then run this command from terminal Code:
ln -s /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/ |
You need to install the restricted-extras package. This includes the codecs to play most online content and it includes java.
|
In a nutshell, dv502 is right - but you can use Synaptic: Open it, go to the "Sources" menu (in "Settings") and put a check for all repositories on the first screen. After that, search for "jre" and install it with all dependencies.
M. |
Quote:
|
You can install java, by installing restricted extras in the terminal or from your Synaptic Package Manager
From the terminal sudo aptitude install ubuntu-restricted-extras Or open your Synaptic Package Manager and do a search for ubuntu restricted extras mark the pack and then click Apply |
Quote:
I've installed Java from the .bin file on java.com, and from the repositories, with no problem at all.... I generally only need it to use Frostwire. Are you getting an error when you tried to run the apt-get command? IGF |
Quote:
java -version If you see anything other than sun jre, this means that something else is already assuming the role of java provider. If so, the default can be changed by installing galternatives (should appear under Applications > System Tools) |
Hey Dv502, thanks man you were very close with the solution, you get half a star.
I could not find package name "restricted-extras" in the synaptic list, so I googled and discovered that the package I needed to install is actually called "ubuntu-restricted-extras". I installed "ubuntu-restricted-extras" and typed java -version into a console which yielded the following response: Code:
java version "1.6.0_10" The test at www.java.com reveals that the version of java included in the ubuntu-restricted-extras is an old version of java. The current version at the time of writing this is Java Version 6 Update 11, so what if I needed a later version? |
From the output of java -version, I get the impression that you are running a 64 bit operating system. If so, you will also have a 64 bit JRE. As there is no "official" 64 bit java plug-in (by which I mean, one released by Sun), Ubuntu provides at least two alternatives.
This would explain why the plug-in is getting identified as an older version although it need not be. In fact, the openJDK plug-in is a preview of the upcoming java 1.7 release; far from being "outdated", it is really cutting edge. As for the other one (gcj plug-in), that one is based on java 1.4 or 1.5 so, yes, it would look outdated. Now, not to worry, 1.6 introduced hardly any new features so a 1.5 plug-in should work just as well. However, bear in mind that neither of the two plug-ins has official status and you may occasionally come across a site that depends on features that are exclusive to the Sun plug-in. In this case, until Sun at last produces a 64 bit plug-in, there is little you can do other than running a 32 bit java environment (which will require a 32 bit browser). |
Quote:
|
Ah, OK, apparently they now ship the server edition of java with 32 bit too. Anyway, if you have 1.6.0u10, you are not going to miss out on a lot. Updates as a rule do not add features but add optimization, solve bugs, etc. If you insist on keeping up with the latest, you'll need to install a JR manually every two to four weeks.
|
Quote:
I'm a arch/slackware junkie. Anyway, I'm glad you got it working. Great job. |
All times are GMT -5. The time now is 09:01 AM. |