Refer from:https://github.com/rraptorr/sun-java6
To create packages on your own:
- apt-get install dpkg-dev
- git clone git://github.com/rraptorr/sun-java6.git
- cd sun-java6
- download jdk-6u45-linux-i586.bin and jdk-6u45-linux-x64.bin fromhttp://www.oracle.com/technetwork/java/javase/downloads/index.html (yes, both, no matter which version you will run)
- download jce_policy-6.zip from the same page under "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6"
- on multiarch amd64 systems (Wheezy) one must add i386 architecture: dpkg --add-architecture i386 && apt-get update
- dpkg-buildpackage -uc -us
- install any missing packages that dpkg-buildpackage complains about and repeat
沒有留言:
張貼留言