i downloaded jdk-6u7-linux-i586.bin from the java website. and when i'm trying to ./ it, there's an error...
the error is...
I have the same problem too..
installing it directly does not work, but
sudo apt-get install sun-java5-jdk
thank you anyway...
first check ........any jdk files are installed on your pc..then uninstall it....after that new version of jdk for linux download and install it..!!!!!
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.