forked from jdziemidowicz/oracle-java7
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
50 lines (38 loc) · 1.62 KB
/
README
File metadata and controls
50 lines (38 loc) · 1.62 KB
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
44
45
46
47
48
49
50
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).
I do not have resources to test packages on Ubuntu. However, if one
finds any problem on Ubuntu, feel free to report an issue and I will
try to resolve it.
For automated solution Ubuntu users can use:
https://github.com/flexiondotorg/oab-java6
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-7u9-linux-i586.tar.gz and jdk-7u9-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.