Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am planning to install the oracle JDK7 on my Debian Wheezy machine. To do so I am using java-package to install the jdk as a .deb package under Debian, as described here.

My question is: Can anybody describe the procedure to update the jdk when installed this way? Is it simply to repeat the installation steps with a newer jdk binary? Do I need to remove the old one? etc...

kind regards.

share|improve this question
possible duplicate of Installation of Java on Debian 6 – Ramhound Aug 29 '13 at 17:09

you should just be able to repeat the steps, yes, and the files installed by the old .deb will be replaced by the new .deb (assuming the .deb has been created properly).

as a relevant aside, however, you might consider using the repository described here. i've been using it for a while now with great success. it's much easier this way!

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .