Installing Java DK 6
I am trying to install JDK 6 but I am not succeeding.
The file is in /home/dustin/Downloads So in the terminal I have been typing: chmod +x filename.bin (enter) sudo ./filename.bin (enter) Java Agreement y (enter) Now, what do I type to install java6-bin java6-jre? Every time I try something and check it with java -version, I get: The program 'java' can be found in the following packages: * gcj-4.4-jre-headless (You will have to enable component called 'main') * openjdk-6-jre-headless (You will have to enable component called 'main') * cacao (You will have to enable component called 'universe') * gij-4.3 (You will have to enable component called 'universe') * jamvm (You will have to enable component called 'universe') * kaffe (You will have to enable component called 'universe') Thanks for your help. |
Which distro are you using? It is likely that your package manager can install the correct version for you.
Welcome to LQ. |
Quote:
|
download openjdk from the software center. just type it in on the search bar.
|
Quote:
|
Ubuntu 9.10 is no longer supported.
You should update to a supported release. https://wiki.ubuntu.com/Releases https://help.ubuntu.com/community/EOLUpgrades |
it's the one titled OpenJDK Java 6 Runtime. It's the first result in the ubuntu software center. And you should also update to ubuntu 11.04
|
All times are GMT -5. The time now is 07:32 AM. |