Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

https://github.com/flexiondotorg/oab-java6

cd ~/
wget https://github.com/flexiondotorg/oab-java6/raw/master/oab-java.sh -O oab-java.sh
chmod +x oab-java.sh
sudo ./oab-java.sh

For Java 7 run:

sudo ./oab-java.sh -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 ./oab-java.sh -7. Updated answer. –  Eric Carvalho Jul 16 '12 at 1:04

Your Answer

 
discard

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.