How to install JDK 6 on Ubuntu 12.04 LTS 64 bit
The Android Open Source project requires JDK 6. From posts I have read all over, the Open Source JDk will not work. I have tried many things from numerous posts here and on other webs to no avail. Either the solutions are not for 64 bit, or the repos no longer are available.
When running:
$ sudo apt-get install sun-java6-jdk
I get:
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'sun-java6-jdk' has no installation candidate
I have downloaded the binary from Oracle directly, but I don't know how to install it:
jdk-6u43-linux-x64.bin
Please advise
The Android Open Source project requires JDK 6. From posts I have read all over, the Open Source JDk will not work. I have tried many things from numerous posts here and on other webs to no avail. Either the solutions are not for 64 bit, or the repos no longer are available.
When running:
$ sudo apt-get install sun-java6-jdk
I get:
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'sun-java6-jdk' has no installation candidate
I have downloaded the binary from Oracle directly, but I don't know how to install it:
jdk-6u43-linux-x64.bin
Please advise
No comments:
Post a Comment