I know there’s a UbuntuWiki page for building a java package. However it’s difficult to read and it’s outdated.
The process is:
- Download the binary installer from (Sun)[http://java.sun.com/].
- Make sure
fakeroot make-jpkg –full-name “My Name” –email “My@e.mail”
It will work for both the JDK and the JRE.