Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

How do I create a deb package for Oracle JDK for personal use?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

there's a script that downloads java packages from Oracle and builds a local deb repository so you can install JRE, JDK and java plugin.

cd ~/
wget -O
chmod +x
sudo ./

For Java 7 run:

sudo ./ -7

The debs will be available in /var/local/oab/deb.

share|improve this answer
Thanks , but this is java6 which is no longer supported – Tachyons Jul 16 '12 at 0:43
sudo ./ -7. Updated answer. – Eric Carvalho Jul 16 '12 at 1:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.