[SOLVED] Installing Oracle jdk on Debian Squeeze Using Update Alternatives
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
since you have the "v" option on tar, it shows you which path it actually unpacks.
that should match the update-alternatives command.
if you do "update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0/bin/java 1065"
then obviously you should have a file "/usr/lib/jvm/jdk1.7.0/bin/java" (and yes, probably should be "lib64" in your case).
if you don't have the file, try "find /usr/lib64/jvm/ -name java" to find out the real path.
good luck! -tom.
In Debian Squeeze 64 bit the java packages are located in usr/lib64/jvm,
Following those procedures by way of copy and paste, will lead to complete disaster!
Making this so difficult , it really verges on sheer lunacy, there is a software called Parted Magic , it is based on Debian, once loaded, with one click it installs latest Java and updates Firefox to the latest version, with Debian, is the usual somersaults and joggling. May the person that does the Parted Magic should step in and relieve the problem. The icedtea is just a nuisance and piece of humbug.
Hi Evil, thanks for the reply and your help to every one, very much appreciated, I managed to install it,
replaced jdk1.7.0, with jdk1.7.0_04, in the two lines of update-alternatives
then browesed to file jvm (/usr/lib/jvm) and typed the update-alternative lines!
However did not try to change the icedtea in Iceweasel, as I don't know how to link it in the 64 bit system.
here are 5 choices for the alternative java (providing /usr/bin/java).
I'm feeling a flaming rant coming on but I'm not sure this is the right place.
I don't think update-alternatives has enough features to justify its existence. This is especially noticeable every time we get a new java update. So where is the best place to vent my spleen (yech!) on this subject