forked from rraptorr/oracle-java7
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
43 lines (33 loc) · 1.38 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
1. Introduction
Java 7 packages for Debian.
2. Supported Debian versions
So far packages were tested on following Debian versions:
- wheezy i386/amd64
- squeeze i386/amd64
- lenny i386/amd64
New users of Debian Wheezy should cosider using java-package:
http://wiki.debian.org/JavaPackage
Packages are compatible with "official" Debian ones of Java 6, but
have a lower priority (use update-java-alternatives if you have Java 6
already installed).
3. Usage
To create packages on your own:
- apt-get install dpkg-dev
- git clone git://github.com/rraptorr/oracle-java7.git
- cd oracle-java7
- Download jdk-7u4-linux-i586.tar.gz and jdk-7u4-linux-x64.tar.gz from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
(yes, both, no matter which version you will run)
- Download UnlimitedJCEPolicyJDK7.zip from the same page under "Java
Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy
Files 7"
- dpkg-buildpackage -uc -us
- install any missing packages that dpkg-buildpackage complains about
and repeat
4. Legal
Oracle does not permit to distribute repackaged binaries of Java, so
be advised that hosting any public repository with Java packages is
probably illegal (at least in some parts of the world).
On the other hand, this repository contains only scripts, that allows
one to repackage Oracle Java in Debian friendly way. No binaries are
or will be hosted.